hgext/lfs/blobstore.py
changeset 43091 127cc1f72e70
parent 43089 c59eb1560c44
child 43380 579672b347d2
--- a/hgext/lfs/blobstore.py	Sun Oct 06 16:58:55 2019 -0400
+++ b/hgext/lfs/blobstore.py	Sun Oct 06 17:27:51 2019 -0400
@@ -394,7 +394,7 @@
 
         def encodestr(x):
             if isinstance(x, pycompat.unicode):
-                return x.encode(u'utf-8')
+                return x.encode('utf-8')
             return x
 
         return pycompat.rapply(encodestr, response)