mercurial/demandimport.py
branchstable
changeset 12801 cddea24aafed
parent 12686 fe31f834a9ff
child 12894 bc91a79fa3d0
--- 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