aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/remove.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2024-01-19 03:07:54 +0100
committerMatěj Cepl <mcepl@cepl.eu>2024-01-21 21:57:15 +0100
commitb638466e6a6ada7478758cf740c89650d0f70f59 (patch)
treef34979881a12818ba46a4b74a7a7096e737e441a /libbe/command/remove.py
parentb11b63156666589ec9749fa318fe7ecd9d1f136d (diff)
downloadbugseverywhere-b638466e6a6ada7478758cf740c89650d0f70f59.tar.gz
WIP plenty of clean-ups and porting to Python 3.
Diffstat (limited to 'libbe/command/remove.py')
-rw-r--r--libbe/command/remove.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/command/remove.py b/libbe/command/remove.py
index 2ca2699..4f7ca5e 100644
--- a/libbe/command/remove.py
+++ b/libbe/command/remove.py
@@ -37,7 +37,7 @@ class Remove (libbe.command.Command):
>>> ui.storage_callbacks.set_storage(bd.storage)
>>> cmd = Remove(ui=ui)
- >>> print bd.bug_from_uuid('b').status
+ >>> print(bd.bug_from_uuid('b').status)
closed
>>> ret = ui.run(cmd, args=['/b'])
Removed bug abc/b
@@ -45,7 +45,7 @@ class Remove (libbe.command.Command):
>>> try:
... bd.bug_from_uuid('b')
... except libbe.bugdir.NoBugMatches:
- ... print 'Bug not found'
+ ... print('Bug not found')
Bug not found
>>> ui.cleanup()
>>> bd.cleanup()