diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-09-28 15:12:36 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-09-28 15:12:36 +0200 |
commit | 620333a07e91c4885dec469e5382d8d242a3a34e (patch) | |
tree | c881b0a78fffc9faa3652860c7c10b486865740a | |
parent | df2017b81b626dae38f9d53b81a8c0df9997bc81 (diff) |
get_repo() should output sane repo names when given ambiguous names.
-rwxr-xr-x | gitnoti.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -211,7 +211,7 @@ class Bot(irc.IRCClient): elif len(repo) == 0: self.msg(target, 'No repo found.') else: - self.msg(target, 'Ambiguous name: %s' % (', '.join([os.path.basename(x[0]) for x in repo]))) + self.msg(target, 'Ambiguous name: %s' % (', '.join([os.path.splitext(os.path.basename(x[0]))[0] for x in repo]))) return None |