ignore .svn in classesdirs

This commit is contained in:
Marcus Stoegbauer 2013-01-20 22:53:28 +00:00
parent 12db28a7e8
commit 7391ced8d7

View File

@ -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