ignore .svn in classesdirs
This commit is contained in:
parent
12db28a7e8
commit
7391ced8d7
@ -52,9 +52,12 @@ def workconf(directory, depth=2):
|
||||
# fixme: create name if it does not exist
|
||||
workconf(name, depth+1)
|
||||
# if dir
|
||||
if not name.endswith(".swp"):
|
||||
ret.append(name)
|
||||
debug.debug("Found file %s in directory %s" % (name, directory), 4)
|
||||
if name.endswith(".swp"):
|
||||
continue
|
||||
if d == ".svn":
|
||||
continue
|
||||
ret.append(name)
|
||||
debug.debug("Found file %s in directory %s" % (name, directory), 4)
|
||||
# if not .swp
|
||||
# for d
|
||||
return ret
|
||||
|
Loading…
Reference in New Issue
Block a user