hgext/infinitepush/common.py
changeset 40252 090e5f3900b7
parent 38197 aac4be30e250
child 43076 2372284d9457
--- a/hgext/infinitepush/common.py	Sat Oct 13 14:17:25 2018 +0200
+++ b/hgext/infinitepush/common.py	Sat Oct 13 12:58:24 2018 +0000
@@ -33,7 +33,7 @@
     fd, bundlefile = pycompat.mkstemp()
     try:  # guards bundlefile
         try:  # guards fp
-            fp = os.fdopen(fd, 'wb')
+            fp = os.fdopen(fd, r'wb')
             fp.write(data)
         finally:
             fp.close()