Merge pull request #18 from vain/fix-encoding-warning
Print full path when file name decoding fails
This commit is contained in:
commit
8c871b1319
@ -115,7 +115,7 @@ def list_existing_paths(directory, expected=(), ignored=(), follow_links=False):
|
||||
try:
|
||||
print(
|
||||
"warning: cannot decode file name:",
|
||||
path,
|
||||
p,
|
||||
file=sys.stderr,
|
||||
)
|
||||
except UnicodeDecodeError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user