changeset 35378:c8ecd96cc357

py3: handle keyword arguments correctly in sslutil.py Differential Revision: https://phab.mercurial-scm.org/D1642
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 10 Dec 2017 04:48:59 +0530
parents 93c4958d987c
children c5853c9a6545
files mercurial/sslutil.py
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/sslutil.py	Sun Dec 10 04:48:24 2017 +0530
+++ b/mercurial/sslutil.py	Sun Dec 10 04:48:59 2017 +0530
@@ -96,13 +96,13 @@
             # in this legacy code since we don't support SNI.
 
             args = {
-                'keyfile': self._keyfile,
-                'certfile': self._certfile,
-                'server_side': server_side,
-                'cert_reqs': self.verify_mode,
-                'ssl_version': self.protocol,
-                'ca_certs': self._cacerts,
-                'ciphers': self._ciphers,
+                r'keyfile': self._keyfile,
+                r'certfile': self._certfile,
+                r'server_side': server_side,
+                r'cert_reqs': self.verify_mode,
+                r'ssl_version': self.protocol,
+                r'ca_certs': self._cacerts,
+                r'ciphers': self._ciphers,
             }
 
             return ssl.wrap_socket(socket, **args)