aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2009-11-28 20:54:11 -0600
committerAndrew Gaffney <agaffney@gentoo.org>2009-11-28 20:54:11 -0600
commit019cfd991aed11d3d64637767deb370d00761e20 (patch)
tree0a421caf1a8a990481beaeb6f8af8a1c662877d7
parentmissing modules (diff)
downloadcatalyst-019cfd991aed11d3d64637767deb370d00761e20.tar.gz
catalyst-019cfd991aed11d3d64637767deb370d00761e20.tar.bz2
catalyst-019cfd991aed11d3d64637767deb370d00761e20.zip
don't use the same var name twice
-rw-r--r--modules/catalyst/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/catalyst/util.py b/modules/catalyst/util.py
index a37cc0af..ddbb694c 100644
--- a/modules/catalyst/util.py
+++ b/modules/catalyst/util.py
@@ -195,9 +195,9 @@ def addl_arg_parse(myspec,addlargs,requiredspec,validspec):
if not x in myspec:
raise CatalystError, "Required argument \""+x+"\" not specified."
-def remove_path(path, glob=True):
+def remove_path(path, globbing=True):
paths = None
- if glob:
+ if globbing:
paths = glob.glob(path)
else:
paths = [path]