diff options
Diffstat (limited to 'becommands/severity.py')
-rw-r--r-- | becommands/severity.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/becommands/severity.py b/becommands/severity.py index 29a5545..7b7ee29 100644 --- a/becommands/severity.py +++ b/becommands/severity.py @@ -35,7 +35,8 @@ def execute(args, test=False): """ parser = get_parser() options, args = parser.parse_args(args) - cmdutil.default_complete(options, args, parser) + cmdutil.default_complete(options, args, parser, + bugid_args={0: lambda bug : bug.active==True}) if len(args) not in (1,2): raise cmdutil.UsageError bd = bugdir.BugDir(from_disk=True, manipulate_encodings=not test) |