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
83464f04
Commit
83464f04
authored
May 12, 2021
by
Carsten Emde
Browse files
If directory to scan is root ('/'), then be consistent and do not remove
the leading directory delimiter
parent
c1fa2f69
Changes
1
Hide whitespace changes
Inline
Side-by-side
generatecypher.py
View file @
83464f04
...
...
@@ -488,7 +488,10 @@ def main(argv):
if
args
.
verbose
:
print
(
fullfilename
)
relfullfilename
=
fullfilename
[
topdirlength
:]
if
dirtoscan
==
'/'
:
relfullfilename
=
fullfilename
else
:
relfullfilename
=
fullfilename
[
topdirlength
:]
if
os
.
path
.
islink
(
fullfilename
):
# keep checking whether or not a symlink can be resolved
...
...
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