largefiles: headers and values need to be sysstrs, add r prefixes
authorAugie Fackler <augie@google.com>
Sat, 03 Mar 2018 14:57:23 -0500
changeset 36656 5c4c9eb1feb6
parent 36655 68026dd7c4f9
child 36657 214f61abd865
largefiles: headers and values need to be sysstrs, add r prefixes # skip-blame just some r prefixes Differential Revision: https://phab.mercurial-scm.org/D2606
hgext/largefiles/proto.py
--- a/hgext/largefiles/proto.py	Sat Mar 03 11:26:30 2018 -0500
+++ b/hgext/largefiles/proto.py	Sat Mar 03 14:57:23 2018 -0500
@@ -97,7 +97,7 @@
             # it ...
             if issubclass(self.__class__, httppeer.httppeer):
                 res = self._call('putlfile', data=fd, sha=sha,
-                    headers={'content-type':'application/mercurial-0.1'})
+                    headers={r'content-type': r'application/mercurial-0.1'})
                 try:
                     d, output = res.split('\n', 1)
                     for l in output.splitlines(True):