aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/new.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/new.py
parentb11b63156666589ec9749fa318fe7ecd9d1f136d (diff)
downloadbugseverywhere-b638466e6a6ada7478758cf740c89650d0f70f59.tar.gz
WIP plenty of clean-ups and porting to Python 3.
Diffstat (limited to 'libbe/command/new.py')
-rw-r--r--libbe/command/new.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbe/command/new.py b/libbe/command/new.py
index b9a3147..4a0288b 100644
--- a/libbe/command/new.py
+++ b/libbe/command/new.py
@@ -51,7 +51,7 @@ class New (libbe.command.Command):
>>> libbe.util.id.uuid_gen = uuid_gen
>>> bd.flush_reload()
>>> bug = bd.bug_from_uuid('X')
- >>> print bug.summary
+ >>> print(bug.summary)
this is a test
>>> bug.creator
u'Fran\\xe7ois'
@@ -59,11 +59,11 @@ class New (libbe.command.Command):
u'Fran\\xe7ois'
>>> bug.time <= int(time.time())
True
- >>> print bug.severity
+ >>> print(bug.severity)
minor
- >>> print bug.status
+ >>> print(bug.status)
open
- >>> print bug.assigned
+ >>> print(bug.assigned)
None
>>> ui.cleanup()
>>> bd.cleanup()