Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Caren Kresse
callgraph
Commits
585c3bf7
Commit
585c3bf7
authored
May 10, 2021
by
Carsten Emde
Browse files
Trap an exception that may happen when checking for directories to skip
parent
9db35f85
Changes
1
Hide whitespace changes
Inline
Side-by-side
generatecypher.py
View file @
585c3bf7
...
...
@@ -471,7 +471,10 @@ def main(argv):
dirwalker
=
os
.
walk
(
dirtoscan
)
for
root
,
dirs
,
files
in
os
.
walk
(
dirtoscan
,
topdown
=
True
):
[
dirs
.
remove
(
d
)
for
d
in
list
(
dirs
)
for
s
in
skipdirs
if
root
.
startswith
(
s
)]
try
:
[
dirs
.
remove
(
d
)
for
d
in
list
(
dirs
)
for
s
in
skipdirs
if
root
.
startswith
(
s
)]
except
:
continue
for
filename
in
files
:
fullfilename
=
os
.
path
.
join
(
root
,
filename
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment