hgext/win32mbcs.py
changeset 30642 e995f00a9e9a
parent 30640 7a3e67bfa417
child 32207 176ed32dc159
child 32208 d74b0cff94a9
--- a/hgext/win32mbcs.py	Mon Dec 19 02:15:24 2016 +0530
+++ b/hgext/win32mbcs.py	Mon Dec 19 02:26:41 2016 +0530
@@ -169,7 +169,7 @@
 def extsetup(ui):
     # TODO: decide use of config section for this extension
     if ((not os.path.supports_unicode_filenames) and
-        (sys.platform != 'cygwin')):
+        (pycompat.sysplatform != 'cygwin')):
         ui.warn(_("[win32mbcs] cannot activate on this platform.\n"))
         return
     # determine encoding for filename