mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-05 13:30:05 +00:00
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:
parent
f952532f08
commit
54a9ba8232
@ -75,8 +75,6 @@ class BasedirMixin:
|
|||||||
if self.allow_multiple and self['multiple']:
|
if self.allow_multiple and self['multiple']:
|
||||||
self.basedirs.extend(map(argv_to_abspath, args))
|
self.basedirs.extend(map(argv_to_abspath, args))
|
||||||
else:
|
else:
|
||||||
if len(args) > 0:
|
|
||||||
self.basedirs.append(argv_to_abspath(args[0]))
|
|
||||||
if len(args) > 1:
|
if len(args) > 1:
|
||||||
raise usage.UsageError("I wasn't expecting so many arguments." +
|
raise usage.UsageError("I wasn't expecting so many arguments." +
|
||||||
(self.allow_multiple and
|
(self.allow_multiple and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user