From 54a9ba8232e2b8e9f3caa82f87c82c4cd0ba4cf2 Mon Sep 17 00:00:00 2001
From: david-sarah <david-sarah@jacaranda.org>
Date: Sun, 1 Aug 2010 23:49:29 -0700
Subject: [PATCH] scripts/common.py: fix an error introduced when rebasing to
 the ticket798 branch, which caused base directories to be duplicated in
 self.basedirs.

---
 src/allmydata/scripts/common.py | 2 --
 1 file changed, 2 deletions(-)

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
-- 
2.45.2