demandimport: backout
fe31f834a9ff
Using a keyword argument here breaks zipimporter for at least some
versions of Python2.6 on Windows.
--- a/mercurial/demandimport.py Thu Oct 21 11:23:26 2010 +0200
+++ b/mercurial/demandimport.py Thu Oct 21 10:13:03 2010 -0500
@@ -45,7 +45,7 @@
if not self._module:
head, globals, locals, after, level = self._data
if level is not None:
- mod = _origimport(head, globals, locals, level=level)
+ mod = _origimport(head, globals, locals, level)
else:
mod = _origimport(head, globals, locals)
# load submodules