mercurial/demandimport.py
changeset 12686 fe31f834a9ff
parent 11942 50a4e55aa278
child 12801 cddea24aafed
--- a/mercurial/demandimport.py	Sun Oct 10 00:38:57 2010 +0100
+++ b/mercurial/demandimport.py	Tue Sep 14 23:00:39 2010 +0200
@@ -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)
+                mod = _origimport(head, globals, locals, level=level)
             else:
                 mod = _origimport(head, globals, locals)
             # load submodules