mercurial/debugcommands.py
changeset 34645 75979c8d4572
parent 34320 12c42bcd4133
child 34959 7ee2d859f720
child 35425 88572b7e50fd
--- a/mercurial/debugcommands.py	Thu Oct 12 19:20:04 2017 -0700
+++ b/mercurial/debugcommands.py	Thu Oct 12 23:30:46 2017 -0700
@@ -2072,7 +2072,7 @@
     If the update succeeds, retry the original operation.  Otherwise, the cause
     of the SSL error is likely another issue.
     '''
-    if pycompat.osname != 'nt':
+    if not pycompat.iswindows:
         raise error.Abort(_('certificate chain building is only possible on '
                             'Windows'))