diff mercurial/util_win32.py @ 2448:b77a2ef61b81

replace os.stat with os.lstat in some where.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Fri, 16 Jun 2006 12:58:24 -0700
parents a600d9997521
children e6a41cbaa260
line wrap: on
line diff
--- a/mercurial/util_win32.py	Fri Jun 16 10:19:45 2006 -0700
+++ b/mercurial/util_win32.py	Fri Jun 16 12:58:24 2006 -0700
@@ -162,7 +162,7 @@
         fh.Close()
         return res[7]
     except pywintypes.error:
-        return os.stat(pathname).st_nlink
+        return os.lstat(pathname).st_nlink
 
 def testpid(pid):
     '''return True if pid is still running or unable to