From: david-sarah Date: Mon, 2 Aug 2010 06:49:29 +0000 (-0700) Subject: scripts/common.py: fix an error introduced when rebasing to the ticket798 branch... X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/%3C?a=commitdiff_plain;h=54a9ba8232e2b8e9f3caa82f87c82c4cd0ba4cf2;p=tahoe-lafs%2Ftahoe-lafs.git scripts/common.py: fix an error introduced when rebasing to the ticket798 branch, which caused base directories to be duplicated in self.basedirs. --- diff --git a/src/allmydata/scripts/common.py b/src/allmydata/scripts/common.py index 9987ffb7..e3af37db 100644 --- a/src/allmydata/scripts/common.py +++ b/src/allmydata/scripts/common.py @@ -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