aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/help.py
diff options
context:
space:
mode:
authorMarien Zwart <marien.zwart@gmail.com>2010-08-10 14:04:41 -0400
committerW. Trevor King <wking@drexel.edu>2010-08-10 14:04:41 -0400
commit55aa926e497824e54c7521c2f0c45ce393ea26b8 (patch)
tree98e2589e8246dcfba734c2caf08e8c0d566fc76e /libbe/command/help.py
parent71e5f6650ccf963a6d78e3d9b2aaba1427b5d224 (diff)
downloadbugseverywhere-55aa926e497824e54c7521c2f0c45ce393ea26b8.tar.gz
Fix "no attribute '_get_bugdir'" bug in `be help severity`.
Bug and patch submitted by Marien Zwart. I can't think of any side effect issues this might raise, so I'm committing it ;). Excerpts from Marien's email below. From: Marien Zwart <...> Date: Tue, 10 Aug 2010 17:45:06 +0200 Subject: [Be-devel] "be help severity" fails (traceback) ... In current git (d63ec5fd3eca61ea53d06a96bfb52170111fc25d) "be help severity" produces the following: Traceback (most recent call last): ... AttributeError: 'Severity' object has no attribute '_get_bugdir' ... but I am not sure if this has any unintended side effects, so I'd prefer not to submit this as a merge request (for someone more familiar with the code to fix this instead). ...
Diffstat (limited to 'libbe/command/help.py')
-rw-r--r--libbe/command/help.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbe/command/help.py b/libbe/command/help.py
index b2b4cbd..01824fa 100644
--- a/libbe/command/help.py
+++ b/libbe/command/help.py
@@ -64,6 +64,7 @@ class Help (libbe.command.Command):
module = libbe.command.get_command(params['topic'])
Class = libbe.command.get_command_class(module,params['topic'])
c = Class(ui=self.ui)
+ self.ui.setup_command(c)
print >> self.stdout, c.help().rstrip('\n')
elif params['topic'] in TOPICS:
print >> self.stdout, TOPICS[params['topic']].rstrip('\n')