]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
scripts/common.py: fix an error introduced when rebasing to the ticket798 branch...
authordavid-sarah <david-sarah@jacaranda.org>
Mon, 2 Aug 2010 06:49:29 +0000 (23:49 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Mon, 2 Aug 2010 06:49:29 +0000 (23:49 -0700)
src/allmydata/scripts/common.py

index 9987ffb7a6152fe29fc068b55c740ae0fc49e0e4..e3af37dbee41e237e880796152a5398e5eff2ff3 100644 (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