Submitter | phabricator |
---|---|
Date | Feb. 12, 2018, 1:40 a.m. |
Message ID | <82ea0f0e4915da5dc1be22ef87399e0c@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/27612/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/sshpeer.py b/mercurial/sshpeer.py --- a/mercurial/sshpeer.py +++ b/mercurial/sshpeer.py @@ -220,7 +220,7 @@ # Generate a random token to help identify responses to version 2 # upgrade request. - token = bytes(uuid.uuid4()) + token = pycompat.sysbytes(str(uuid.uuid4())) upgradecaps = [ ('proto', wireprotoserver.SSHV2), ]