Skip to content

Commit da5656c

Browse files
authored
escape doc string (#171)
1 parent ed81c23 commit da5656c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bagit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ def _path_is_dangerous(self, path):
927927
"""
928928
Return true if path looks dangerous, i.e. potentially operates
929929
outside the bagging directory structure, e.g. ~/.bashrc, ../../../secrets.json,
930-
\\?\c:\, D:\sys32\cmd.exe
930+
\\\\?\\c:\\, D:\\sys32\\cmd.exe
931931
"""
932932
if os.path.isabs(path):
933933
return True

0 commit comments

Comments
 (0)