mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
fix for windows
This commit is contained in:
parent
76ea72711c
commit
359a4fe928
@ -78,6 +78,7 @@ def readErrorCodes( callback, replaceZero = False ):
|
||||
of = open( x + ".tmp", 'w' )
|
||||
of.write( "".join( lines ) )
|
||||
of.close()
|
||||
os.remove(x)
|
||||
os.rename( x + ".tmp", x )
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user