mercurial/windows.py
changeset 8559 4429751f5da7
parent 8421 b6d0fa8c7685
child 8614 573734e7e6d0
--- a/mercurial/windows.py	Sat May 23 11:53:23 2009 -0500
+++ b/mercurial/windows.py	Sat May 23 19:57:25 2009 +0200
@@ -68,7 +68,7 @@
         return 'command' in os.environ.get('comspec', '')
 
 def openhardlinks():
-    return not _is_win_9x and "win32api" in locals()
+    return not _is_win_9x() and "win32api" in globals()
 
 def system_rcpath():
     try: