diff setup.py @ 9031:3b76321aa0de

compat: use open() instead of file() everywhere
author Alejandro Santos <alejolp@alejolp.com>
date Sun, 05 Jul 2009 11:01:30 +0200
parents 1de6e7e1bb9f
children ac0f082faa6c
line wrap: on
line diff
--- 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()