diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2024-01-18 19:09:58 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-01-18 19:09:58 +0100 |
commit | cc7362d28bd9c43cb6839809f86e59874f2fe458 (patch) | |
tree | 1053748f5890c769d1e99806bc0c8bcffca6f0fe /libbe/command/commit.py | |
parent | 003bd13629d9db2f14156f97b74a4672e9ecdf77 (diff) | |
download | bugseverywhere-cc7362d28bd9c43cb6839809f86e59874f2fe458.tar.gz |
2to3 conversion of the repo.
Diffstat (limited to 'libbe/command/commit.py')
-rw-r--r-- | libbe/command/commit.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbe/command/commit.py b/libbe/command/commit.py index 453311f..077980d 100644 --- a/libbe/command/commit.py +++ b/libbe/command/commit.py @@ -93,9 +93,9 @@ class Commit (libbe.command.Command): try: revision = storage.commit(summary, body=body, allow_empty=params['allow-empty']) - print >> self.stdout, 'Committed %s' % revision - except libbe.storage.EmptyCommit, e: - print >> self.stdout, e + print('Committed %s' % revision, file=self.stdout) + except libbe.storage.EmptyCommit as e: + print(e, file=self.stdout) return 1 def _long_help(self): |