in src/python/recursive-rat.py [0:0]
def ignoreDirectory(dir):
'''Is this directory to be ignored?'''
if dir == "":
return False
else:
head, tail = split(dir)
if tail.startswith('.') and not(tail.startswith('..')):
return True
elif tail == "":
return False
else:
return ignoreDirectory(head)