changeset 36656:5c4c9eb1feb6

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
author Augie Fackler <augie@google.com>
date Sat, 03 Mar 2018 14:57:23 -0500
parents 68026dd7c4f9
children 214f61abd865
files hgext/largefiles/proto.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):