lfs: drop an unnecessary r'' prefix
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 21 Jan 2020 09:55:35 -0500
changeset 44140 b2408acaa4c9
parent 44139 2ad4e8aefcf4
child 44141 46c8f15fb2b4
lfs: drop an unnecessary r'' prefix No longer necessary since the source transformer was removed. # skip-blame for changing string prefixes Differential Revision: https://phab.mercurial-scm.org/D7958
hgext/lfs/blobstore.py
--- a/hgext/lfs/blobstore.py	Tue Jan 21 09:51:39 2020 -0500
+++ b/hgext/lfs/blobstore.py	Tue Jan 21 09:55:35 2020 -0500
@@ -491,7 +491,7 @@
                     hint=_(b'run hg verify'),
                 )
             request.data = lfsuploadfile(localstore.open(oid))
-            request.get_method = lambda: r'PUT'
+            request.get_method = lambda: 'PUT'
             request.add_header('Content-Type', 'application/octet-stream')
             request.add_header('Content-Length', len(request.data))