diff options
author | Albert Zeyer <albert.zeyer@rwth-aachen.de> | 2011-05-13 21:22:11 +0200 |
---|---|---|
committer | Albert Zeyer <albert.zeyer@rwth-aachen.de> | 2011-05-13 21:22:11 +0200 |
commit | 7aad77dc6550d12f9935c7e34cc32689c1dd9ecd (patch) | |
tree | f8993b256fed7f7074057385384fb1c69b70a2a3 | |
parent | 04ce530c9416cac5d8662d73ab231f6dee355601 (diff) |
strip chr(13) out of comment when printing on stdout
-rwxr-xr-x | issues.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ def handle_tracker_item(item, issue_title_prefix): print 'Attaching label: %s' % label rest_call('issues/label/add', '%s/%s' % (label, number)) for comment in comments: - print 'Creating comment: %s' % comment[:50].replace('\n', ' ') + print 'Creating comment: %s' % comment[:50].replace('\n', ' ').replace(chr(13), '') rest_call('issues/comment', number, {'comment': comment}) if closed: print 'Closing...' |