don't use the same var name twice
authorAndrew Gaffney <agaffney@gentoo.org>
Sun, 29 Nov 2009 02:54:11 +0000 (20:54 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Sun, 29 Nov 2009 02:54:11 +0000 (20:54 -0600)
modules/catalyst/util.py

index a37cc0afafa39c652af7292c7d3d449235c465c1..ddbb694c732a604c23f27cbae71a2afdff130ef2 100644 (file)
@@ -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]