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
|
# fixme: create name if it does not exist
|
||||||
workconf(name, depth+1)
|
workconf(name, depth+1)
|
||||||
# if dir
|
# if dir
|
||||||
if not name.endswith(".swp"):
|
if name.endswith(".swp"):
|
||||||
ret.append(name)
|
continue
|
||||||
debug.debug("Found file %s in directory %s" % (name, directory), 4)
|
if d == ".svn":
|
||||||
|
continue
|
||||||
|
ret.append(name)
|
||||||
|
debug.debug("Found file %s in directory %s" % (name, directory), 4)
|
||||||
# if not .swp
|
# if not .swp
|
||||||
# for d
|
# for d
|
||||||
return ret
|
return ret
|
||||||
|
Loading…
Reference in New Issue
Block a user