diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-03-18 15:14:25 +0000 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-03-18 15:14:25 +0000 |
commit | d7d616e4f8b885f55f8052e5eb22f3cec7ddbee4 (patch) | |
tree | e9441bf413985b6e24a5a2aede498d639c7128ef /becommands/list.py | |
parent | 90e118fac5cfb345e10487039a375c8af5835ddf (diff) | |
download | bugseverywhere-d7d616e4f8b885f55f8052e5eb22f3cec7ddbee4.tar.gz |
Used cmdutil tree_root wrapper to avoid tracebacks on wrong tree
Diffstat (limited to 'becommands/list.py')
-rw-r--r-- | becommands/list.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/becommands/list.py b/becommands/list.py index e89195b..5bd54a2 100644 --- a/becommands/list.py +++ b/becommands/list.py @@ -11,7 +11,7 @@ def execute(args): if bug.severity not in severity: return False return True - all_bugs = list(bugdir.tree_root(os.getcwd()).list()) + all_bugs = list(cmdutil.bug_tree().list()) bugs = [b for b in all_bugs if filter(b) ] if len(bugs) == 0: print "No matching bugs found" |