changeset 34647 | dacfcdd8b94e |
parent 34646 | 238abf65a8ad |
child 35014 | be6aa0cff8ea |
--- a/mercurial/util.py Thu Oct 12 09:04:22 2017 -0700 +++ b/mercurial/util.py Thu Oct 12 23:34:34 2017 -0700 @@ -1561,7 +1561,7 @@ def gui(): '''Are we running in a GUI?''' - if pycompat.sysplatform == 'darwin': + if pycompat.isdarwin: if 'SSH_CONNECTION' in encoding.environ: # handle SSH access to a box where the user is logged in return False