diff options
-rwxr-xr-x | gitnoti.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -243,8 +243,7 @@ class Bot(irc.IRCClient): def get_commits(self, repo, name): try: if '..' in name: - frm, to = name.split('..') - commits = list(repo.iter_commits('%s..%s' % (frm, to))) + commits = list(repo.iter_commits(name)) else: commits = [repo.commit(name)] except ValueError: |