mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
port: Fix directory recursion
This commit is contained in:
parent
a8a209550b
commit
d6c6a66c15
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ def listdir_recursive(subdir):
|
||||||
full = os.path.join(subdir, file)
|
full = os.path.join(subdir, file)
|
||||||
if full == "./subprojects":
|
if full == "./subprojects":
|
||||||
# skip the subprojects directory
|
# skip the subprojects directory
|
||||||
return
|
continue
|
||||||
if os.path.isfile(full):
|
if os.path.isfile(full):
|
||||||
yield full
|
yield full
|
||||||
elif os.path.isdir(full):
|
elif os.path.isdir(full):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue