Mercurial > public > mercurial-scm > hg-stable
diff hgext/win32mbcs.py @ 30621:6f9fcd29e290
py3: replace os.sep with pycompat.ossep (part 4 of 4)
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 17 Dec 2016 20:24:46 +0530 |
parents | 8a9681b963a3 |
children | 7a3e67bfa417 |
line wrap: on
line diff
--- a/hgext/win32mbcs.py Sat Dec 17 20:14:24 2016 +0530 +++ b/hgext/win32mbcs.py Sat Dec 17 20:24:46 2016 +0530 @@ -53,6 +53,7 @@ from mercurial import ( encoding, error, + pycompat, ) # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for @@ -97,7 +98,7 @@ except UnicodeError: us = s if us and us[-1] not in ':/\\': - s += os.sep + s += pycompat.ossep return s