Mercurial > p > roundup > code
changeset 4176:0c3e9fca71fe gsoc-2009
Trying some fixes - and again
| author | Pygi <pygi@users.sourceforge.net> |
|---|---|
| date | Tue, 07 Jul 2009 15:03:01 +0000 |
| parents | 67c03ee5af93 |
| children | 71fea6227609 |
| files | scripts/notify-roundup/notify-roundup.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/notify-roundup/notify-roundup.py Tue Jul 07 15:01:28 2009 +0000 +++ b/scripts/notify-roundup/notify-roundup.py Tue Jul 07 15:03:01 2009 +0000 @@ -57,7 +57,7 @@ revision = int(sys.argv[3]) elif vcs_type == 'hg': rev_type = sys.argv[3].split(':') - revision = rev_type(1) + revision = rev_type[1] logger.debug(revision) else: logging.error('something wen\'t wrong') @@ -267,7 +267,7 @@ authors_calls = subprocess.call('hg log ' + self.repos_dir + ' --rev ' + self.rev + ' | grep user' , shell=True) authors_split = authors.calls.split(':') - logger.debug('Author is:', authors_split(1)) + logger.debug('Author is:', authors_split[1])
