From: Greg Brockman Date: Tue, 23 Mar 2010 21:18:16 +0000 (-0400) Subject: Now do a prettier join for multiple files X-Git-Url: http://andersk.mit.edu/gitweb/zcommit.git/commitdiff_plain/c3d0ddbaedda638e063f075c3ddb1efe6b9d89d7 Now do a prettier join for multiple files --- diff --git a/zcommit.py b/zcommit.py index 0c68782..e56aedb 100755 --- a/zcommit.py +++ b/zcommit.py @@ -78,11 +78,11 @@ class Application(object): inst = opts.get('instance', c['id'][:8]) actions = [] if c.get('added'): - actions.append('Added: %s\n' % ', '.join(c['added'])) + actions.append('Added: %s\n' % '\n '.join(c['added'])) if c.get('removed'): - actions.append('Removed: %s\n' % ', '.join(c['removed'])) + actions.append('Removed: %s\n' % '\n '.join(c['removed'])) if c.get('modified'): - actions.append('Modified: %s\n' % ', '.join(c['modified'])) + actions.append('Modified: %s\n' % '\n '.join(c['modified'])) if not actions: actions.append('Something weird happened... could not figure out what action to take') info = {'name' : c['author']['name'],