doc/check-seclevel.py
changeset 27221 ab776610fc6d
parent 26413 e0c572d4d112
child 27510 020d93c4a727
--- a/doc/check-seclevel.py	Thu Dec 03 21:37:01 2015 -0800
+++ b/doc/check-seclevel.py	Tue Nov 24 22:53:55 2015 -0800
@@ -6,9 +6,8 @@
 import optparse
 
 # import from the live mercurial repo
+os.environ['HGMODULEPOLICY'] = 'py'
 sys.path.insert(0, "..")
-# fall back to pure modules if required C extensions are not available
-sys.path.append(os.path.join('..', 'mercurial', 'pure'))
 from mercurial import demandimport; demandimport.enable()
 from mercurial.commands import table
 from mercurial.help import helptable