diff mercurial/pure/osutil.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 b6d0fa8c7685
children 25e572394f5c
line wrap: on
line diff
--- a/mercurial/pure/osutil.py	Sun Jul 05 11:01:01 2009 +0200
+++ b/mercurial/pure/osutil.py	Sun Jul 05 11:01:30 2009 +0200
@@ -8,7 +8,7 @@
 import os
 import stat as _stat
 
-posixfile = file
+posixfile = open
 
 def _mode_to_kind(mode):
     if _stat.S_ISREG(mode): return _stat.S_IFREG