aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/commit.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2024-01-18 19:09:58 +0100
committerMatěj Cepl <mcepl@cepl.eu>2024-01-18 19:09:58 +0100
commitcc7362d28bd9c43cb6839809f86e59874f2fe458 (patch)
tree1053748f5890c769d1e99806bc0c8bcffca6f0fe /libbe/command/commit.py
parent003bd13629d9db2f14156f97b74a4672e9ecdf77 (diff)
downloadbugseverywhere-cc7362d28bd9c43cb6839809f86e59874f2fe458.tar.gz
2to3 conversion of the repo.
Diffstat (limited to 'libbe/command/commit.py')
-rw-r--r--libbe/command/commit.py6
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):