1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Removed unused argument to commands.

This commit is contained in:
Carl Meyer 2011-12-12 02:02:01 -07:00
parent 9654f596b9
commit 1134ca2552
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ def main(initial_args=None):
parser.error('No command by the name %(script)s %(arg)s\n '
'(maybe you meant "%(script)s %(guess)s")' % error_dict)
command = command_dict[command]
return command.main(initial_args, args[1:], options)
return command.main(args[1:], options)
def bootstrap():

View file

@ -56,7 +56,7 @@ class Command(object):
def setup_logging(self):
pass
def main(self, complete_args, args, initial_options):
def main(self, args, initial_options):
options, args = self.parser.parse_args(args)
self.merge_options(initial_options, options)