diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2009-11-28 20:54:11 -0600 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2009-11-28 20:54:11 -0600 |
commit | 019cfd991aed11d3d64637767deb370d00761e20 (patch) | |
tree | 0a421caf1a8a990481beaeb6f8af8a1c662877d7 | |
parent | missing modules (diff) | |
download | catalyst-019cfd991aed11d3d64637767deb370d00761e20.tar.gz catalyst-019cfd991aed11d3d64637767deb370d00761e20.tar.bz2 catalyst-019cfd991aed11d3d64637767deb370d00761e20.zip |
don't use the same var name twice
-rw-r--r-- | modules/catalyst/util.py | 4 |
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] |