diff options
author | Tim Guirgies <lt.infiltrator@gmail.com> | 2011-05-25 02:15:12 +1000 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2011-05-25 06:24:28 -0400 |
commit | 9fd2e8ffbcf2b0ffb4b39e03609197cb95a7c6cd (patch) | |
tree | d9a4e97c7add943f32623a10ed93bcfde19f0814 /libbe/command | |
parent | 287f32bc7f034045454bff1b246aba769eda9e9a (diff) | |
download | bugseverywhere-9fd2e8ffbcf2b0ffb4b39e03609197cb95a7c6cd.tar.gz |
Teach be status --help to load per tree config
Again, there is discrepancy between severity.py and status.py. I thought
this feature was extremely useful in severity.py and it should be put
into status.py too.
Diffstat (limited to 'libbe/command')
-rw-r--r-- | libbe/command/status.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbe/command/status.py b/libbe/command/status.py index 2e470e4..e034bef 100644 --- a/libbe/command/status.py +++ b/libbe/command/status.py @@ -80,6 +80,10 @@ class Status (libbe.command.Command): return 0 def _long_help(self): + try: # See if there are any per-tree status configurations + bd = self._get_bugdir() + except NotImplementedError: + pass # No tree, just show the defaults longest_status_len = max([len(s) for s in libbe.bug.status_values]) active_statuses = [] for status in libbe.bug.active_status_values : |