setup.py
changeset 9031 3b76321aa0de
parent 8936 1de6e7e1bb9f
child 9140 ac0f082faa6c
--- a/setup.py	Sun Jul 05 11:01:01 2009 +0200
+++ b/setup.py	Sun Jul 05 11:01:30 2009 +0200
@@ -143,7 +143,7 @@
             break
 
 if version:
-    f = file("mercurial/__version__.py", "w")
+    f = open("mercurial/__version__.py", "w")
     f.write('# this file is autogenerated by setup.py\n')
     f.write('version = "%s"\n' % version)
     f.close()