diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-15 03:31:48 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-15 03:31:48 -0500 |
commit | 58bedebfddbb8e1fc8f0a441163526feaecb753b (patch) | |
tree | bb317cf59f834e45182aad4f816ea13f3fd76f6e /libbe/command/new.py | |
parent | eb26ca7e4a6886f97740c45e9e3b7bdd2d08d76f (diff) | |
download | bugseverywhere-58bedebfddbb8e1fc8f0a441163526feaecb753b.tar.gz |
Transition to Command-format complete.
Well, except for going through and updating the _long_help()
strings.
$ python test.py libbe.command
succeeds for everything except Diff and Subscribe, which is expected
since I haven't fixed up libbe.diff yet.
Diffstat (limited to 'libbe/command/new.py')
-rw-r--r-- | libbe/command/new.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbe/command/new.py b/libbe/command/new.py index de215fa..57ff5dc 100644 --- a/libbe/command/new.py +++ b/libbe/command/new.py @@ -35,9 +35,11 @@ class New (libbe.command.Command): >>> cmd._setup_io = lambda i_enc,o_enc : None >>> cmd.stdout = sys.stdout + >>> uuid_gen = libbe.util.id.uuid_gen >>> libbe.util.id.uuid_gen = lambda: 'X' >>> ret = cmd.run(args=['this is a test',]) Created bug with ID abc/X + >>> libbe.util.id.uuid_gen = uuid_gen >>> bd.flush_reload() >>> bug = bd.bug_from_uuid('X') >>> print bug.summary |