py 3.3 fix for bug 436934. Change the level parameter for the __import__() call.
authorBrian Dolbec <dolsen@gentoo.org>
Sat, 6 Oct 2012 22:13:49 +0000 (15:13 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Sat, 6 Oct 2012 22:13:49 +0000 (15:13 -0700)
pym/gentoolkit/enalyze/__init__.py
pym/gentoolkit/equery/__init__.py

index b43a82c07ebd05759c009781f25dc7593dc3a287..3e07d77607d678bf0a28178401faacb4898213ad 100644 (file)
@@ -115,7 +115,7 @@ def main():
 
        try:
                loaded_module = __import__(
-                       expanded_module_name, globals(), locals(), [], -1
+                       expanded_module_name, globals(), locals(), [], 1
                )
                loaded_module.main(module_args)
        except portage.exception.AmbiguousPackageName as err:
index 65f3ec15c5cb704e46fd5a859c422bb895e1944f..a844f51a3d634e6d5d5fbb797c6ecebba6c45773 100644 (file)
@@ -349,7 +349,7 @@ def main(argv):
 
        try:
                loaded_module = __import__(
-                       expanded_module_name, globals(), locals(), [], -1
+                       expanded_module_name, globals(), locals(), [], 1
                )
                loaded_module.main(module_args)
        except portage.exception.AmbiguousPackageName as err: