changeset 12801:cddea24aafed stable

demandimport: backout fe31f834a9ff Using a keyword argument here breaks zipimporter for at least some versions of Python2.6 on Windows.
author Steve Borho <steve@borho.org>
date Thu, 21 Oct 2010 10:13:03 -0500
parents 598bf07fc896
children c82cd7b08158
files mercurial/demandimport.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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