##// END OF EJS Templates
py3: make second argument of fdopen() a str...
Pulkit Goyal -
r40647:5e3b3f88 default
parent child Browse files
Show More
@@ -373,8 +373,8 b' class mutablebasepack(versionmixin):'
373 suffix=self.PACKSUFFIX + '-tmp')
373 suffix=self.PACKSUFFIX + '-tmp')
374 self.idxfp, self.idxpath = opener.mkstemp(
374 self.idxfp, self.idxpath = opener.mkstemp(
375 suffix=self.INDEXSUFFIX + '-tmp')
375 suffix=self.INDEXSUFFIX + '-tmp')
376 self.packfp = os.fdopen(self.packfp, 'w+')
376 self.packfp = os.fdopen(self.packfp, r'w+')
377 self.idxfp = os.fdopen(self.idxfp, 'w+')
377 self.idxfp = os.fdopen(self.idxfp, r'w+')
378 self.sha = hashlib.sha1()
378 self.sha = hashlib.sha1()
379 self._closed = False
379 self._closed = False
380
380
General Comments 0
You need to be logged in to leave comments. Login now