changeset 30635 | a150173da1c1 |
parent 30562 | b3a9ef3d30e8 |
child 34435 | 5326e4ef1dab |
--- a/mercurial/sshserver.py Sun Dec 18 01:34:41 2016 +0530 +++ b/mercurial/sshserver.py Sun Dec 18 01:46:39 2016 +0530 @@ -8,11 +8,11 @@ from __future__ import absolute_import -import os import sys from .i18n import _ from . import ( + encoding, error, hook, util, @@ -131,5 +131,5 @@ return cmd != '' def _client(self): - client = os.environ.get('SSH_CLIENT', '').split(' ', 1)[0] + client = encoding.environ.get('SSH_CLIENT', '').split(' ', 1)[0] return 'remote:ssh:' + client