Fixed shortname -> bugname in becommands/show.py.
authorW. Trevor King <wking@drexel.edu>
Sat, 5 Dec 2009 23:16:05 +0000 (18:16 -0500)
committerW. Trevor King <wking@drexel.edu>
Sat, 5 Dec 2009 23:16:05 +0000 (18:16 -0500)
commitf8e29454d91e1ec818fb14fad3d77a159ebbe22a
tree013ceecd5b5e8f8c4b31fa493a8750424f381eb8
parentaf8bd49a6215029c08676a3d4a59cfcab1d80976
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
becommands/show.py