projects
/
catalyst.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f3684
)
don't use the same var name twice
author
Andrew Gaffney
<agaffney@gentoo.org>
Sun, 29 Nov 2009 02:54:11 +0000
(20:54 -0600)
committer
Andrew Gaffney
<agaffney@gentoo.org>
Sun, 29 Nov 2009 02:54:11 +0000
(20:54 -0600)
modules/catalyst/util.py
patch
|
blob
|
history
diff --git
a/modules/catalyst/util.py
b/modules/catalyst/util.py
index a37cc0afafa39c652af7292c7d3d449235c465c1..ddbb694c732a604c23f27cbae71a2afdff130ef2 100644
(file)
--- 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, glob
bing
=True):
paths = None
- if glob:
+ if glob
bing
:
paths = glob.glob(path)
else:
paths = [path]