--- a/hgext/lfs/wireprotolfsserver.py Thu Nov 07 03:59:22 2019 -0800
+++ b/hgext/lfs/wireprotolfsserver.py Thu Nov 07 13:18:19 2019 -0500
@@ -249,7 +249,7 @@
if not exists:
rsp[r'error'] = {
r'code': 404,
- r'message': r"The object does not exist",
+ r'message': "The object does not exist",
}
yield rsp
continue
@@ -257,7 +257,7 @@
elif not verifies:
rsp[r'error'] = {
r'code': 422, # XXX: is this the right code?
- r'message': r"The object is corrupt",
+ r'message': "The object is corrupt",
}
yield rsp
continue
@@ -287,7 +287,7 @@
b'%s%s/.hg/lfs/objects/%s' % (req.baseurl, req.apppath, oid)
),
# datetime.isoformat() doesn't include the 'Z' suffix
- r"expires_at": expiresat.strftime(r'%Y-%m-%dT%H:%M:%SZ'),
+ "expires_at": expiresat.strftime(r'%Y-%m-%dT%H:%M:%SZ'),
r'header': _buildheader(),
}
}