Another attempt at not going down the rabbit hole
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
8a180b87c0
commit
c825ebf5a0
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def process_namespace(namespace):
|
||||||
|
|
||||||
for dirpath, dirnames, filenames in os.walk(path):
|
for dirpath, dirnames, filenames in os.walk(path):
|
||||||
# Don't go down the .git repos
|
# Don't go down the .git repos
|
||||||
if dirpath.endswith('.git'):
|
if '.git' in dirpath:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for repo in dirnames:
|
for repo in dirnames:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue