diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-15 01:52:17 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-15 01:52:17 -0500 |
commit | a1bd5432ffbf28bf2fadfed8a5b2db917f243344 (patch) | |
tree | 414f4582b5549a52262155f87a0db44f96b81380 /libbe/ui/command_line.py | |
parent | 66343859b94ab7417bd4560ccc1c023d9ba6d1d2 (diff) | |
download | bugseverywhere-a1bd5432ffbf28bf2fadfed8a5b2db917f243344.tar.gz |
Transitioned tag to Command-format
Diffstat (limited to 'libbe/ui/command_line.py')
-rwxr-xr-x | libbe/ui/command_line.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/ui/command_line.py b/libbe/ui/command_line.py index bb38be8..2dff930 100755 --- a/libbe/ui/command_line.py +++ b/libbe/ui/command_line.py @@ -122,7 +122,7 @@ class CmdOptionParser(optparse.OptionParser): fragment = args[i+1] self.complete(argument, fragment) if len(parsed_args) > len(self.command.args) \ - and self.command.args[-1] == False: + and self.command.args[-1].repeatable == False: raise libbe.command.UserError('Too many arguments') for arg in self.command.args[len(parsed_args):]: if arg.optional == False: |