diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-10-20 17:24:49 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-10-20 17:24:49 +0200 |
commit | 2b20521a9418aaa0e8e8323689387f59ac3ea34e (patch) | |
tree | a60a56514cd19e11013588d885601ba9adc332a6 | |
parent | d73c968545efa0586a32f7aa6aae64214c270376 (diff) |
Remove unnecessary split in get_commits().
-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: |