##// END OF EJS Templates
journal: do not use atomictemp (issue5338)...
Jun Wu -
r33924:e6d42156 default
parent child Browse files
Show More
@@ -342,7 +342,7 b' class journalstorage(object):'
342 with self.jlock(vfs):
342 with self.jlock(vfs):
343 version = None
343 version = None
344 # open file in amend mode to ensure it is created if missing
344 # open file in amend mode to ensure it is created if missing
345 with vfs('namejournal', mode='a+b', atomictemp=True) as f:
345 with vfs('namejournal', mode='a+b') as f:
346 f.seek(0, os.SEEK_SET)
346 f.seek(0, os.SEEK_SET)
347 # Read just enough bytes to get a version number (up to 2
347 # Read just enough bytes to get a version number (up to 2
348 # digits plus separator)
348 # digits plus separator)
General Comments 0
You need to be logged in to leave comments. Login now