Show More
@@ -383,8 +383,9 b' class savedcmd(object):' | |||
|
383 | 383 | |
|
384 | 384 | def __init__(self, path, cmdline): |
|
385 | 385 | # We can't pass non-ASCII through docstrings (and path is |
|
386 | # in an unknown encoding anyway) | |
|
387 | docpath = stringutil.escapestr(path) | |
|
386 | # in an unknown encoding anyway), but avoid double separators on | |
|
387 | # Windows | |
|
388 | docpath = stringutil.escapestr(path).replace(b'\\\\', b'\\') | |
|
388 | 389 | self.__doc__ %= {r'path': pycompat.sysstr(stringutil.uirepr(docpath))} |
|
389 | 390 | self._cmdline = cmdline |
|
390 | 391 |
General Comments 0
You need to be logged in to leave comments.
Login now