0
0
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:
Dwight 2011-10-07 17:10:54 -04:00
parent 76ea72711c
commit 359a4fe928

View File

@ -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 )