diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-05 18:16:05 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-05 18:16:05 -0500 |
commit | f8e29454d91e1ec818fb14fad3d77a159ebbe22a (patch) | |
tree | 013ceecd5b5e8f8c4b31fa493a8750424f381eb8 | |
parent | af8bd49a6215029c08676a3d4a59cfcab1d80976 (diff) | |
download | bugseverywhere-f8e29454d91e1ec818fb14fad3d77a159ebbe22a.tar.gz |
Fixed shortname -> bugname in becommands/show.py.
Fixes
wking@thor:be.target-as-bug$ be show 22b:7
Traceback (most recent call last):
File "/home/wking/bin/be", line 65, in <module>
sys.exit(cmdutil.execute(args[0], args[1:]))
File "/home/wking/src/fun/be/be.target-as-bug/libbe/cmdutil.py", line 87, in execute
restrict_file_access=restrict_file_access)
File "/home/wking/src/fun/be/be.target-as-bug/becommands/show.py", line 82, in execute
print output(args, bd, as_xml=options.XML, with_comments=options.comments)
File "/home/wking/src/fun/be/be.target-as-bug/becommands/show.py", line 174, in output
lines.append(comment.string(shortname=shortname))
NameError: global name 'shortname' is not defined
-rw-r--r-- | becommands/show.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/becommands/show.py b/becommands/show.py index 557c63a..cc43f9a 100644 --- a/becommands/show.py +++ b/becommands/show.py @@ -171,7 +171,7 @@ def output(ids, bd, as_xml=True, with_comments=True): if as_xml: lines.append(comment.xml(indent=4, shortname=bugname)) else: - lines.append(comment.string(shortname=shortname)) + lines.append(comment.string(shortname=bugname)) if spaces_left > 0: spaces_left -= 1 lines.append('') # add a blank line between bugs/comments |