add test for --hidefilenames arg
This commit is contained in:
parent
fdba83a1c7
commit
62dfdc7993
2 changed files with 48 additions and 2 deletions
|
@ -533,8 +533,8 @@ def format_file_path(filepath):
|
|||
try:
|
||||
filepath = os.path.realpath(os.path.abspath(filepath))
|
||||
filepath = re.sub(r'[/\\]', os.path.sep, filepath)
|
||||
except:
|
||||
pass # pragma: nocover
|
||||
except: # pragma: nocover
|
||||
pass
|
||||
return filepath
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue