scripts/common.py: fix an error introduced when rebasing to the ticket798 branch, which caused base directories to be duplicated in self.basedirs.

This commit is contained in:
david-sarah 2010-08-01 23:49:29 -07:00
parent f952532f08
commit 54a9ba8232

View File

@ -75,8 +75,6 @@ class BasedirMixin:
if self.allow_multiple and self['multiple']:
self.basedirs.extend(map(argv_to_abspath, args))
else:
if len(args) > 0:
self.basedirs.append(argv_to_abspath(args[0]))
if len(args) > 1:
raise usage.UsageError("I wasn't expecting so many arguments." +
(self.allow_multiple and