mercurial/help.py
changeset 14941 4a28cb4df1f8
parent 14686 6ab8b17adc03
child 15996 0455463655e0
--- a/mercurial/help.py	Mon Jul 25 22:19:28 2011 +0300
+++ b/mercurial/help.py	Mon Jul 25 16:14:02 2011 -0500
@@ -31,7 +31,7 @@
     """Return a delayed loader for help/topic.txt."""
 
     def loader():
-        if hasattr(sys, 'frozen'):
+        if util.mainfrozen():
             module = sys.executable
         else:
             module = __file__