diff options
Diffstat (limited to 'becommands/remove.py')
-rw-r--r-- | becommands/remove.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/becommands/remove.py b/becommands/remove.py index cd877c5..fa264b8 100644 --- a/becommands/remove.py +++ b/becommands/remove.py @@ -37,7 +37,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) != 1: raise cmdutil.UsageError, "Please specify a bug id." bd = bugdir.BugDir(from_disk=True, manipulate_encodings=not test) |