Another attempt at not going down the rabbit hole

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2018-04-17 15:22:17 +02:00
parent 8a180b87c0
commit c825ebf5a0

View file

@ -70,7 +70,7 @@ def process_namespace(namespace):
for dirpath, dirnames, filenames in os.walk(path):
# Don't go down the .git repos
if dirpath.endswith('.git'):
if '.git' in dirpath:
continue
for repo in dirnames: