diff options
Diffstat (limited to 'becommands/new.py')
-rw-r--r-- | becommands/new.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/becommands/new.py b/becommands/new.py index b22dd0a..40ab3f5 100644 --- a/becommands/new.py +++ b/becommands/new.py @@ -17,6 +17,7 @@ """Create a new bug""" from libbe import cmdutil, names, utility from libbe.bug import new_bug +__desc__ = __doc__ def execute(args): """ @@ -47,7 +48,7 @@ def execute(args): bug.summary = args[0] bug.save() bugs = (dir.list()) - print "Created bug with ID %s" % cmdutil.unique_name(bug, bugs) + print "Created bug with ID %s" % names.unique_name(bug, bugs) def get_parser(): parser = cmdutil.CmdOptionParser("be new SUMMARY") |