aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2012-10-06 22:13:49 (GMT)
committerBrian Dolbec <dolsen@gentoo.org>2012-10-06 22:13:49 (GMT)
commit53eadf79c9bd138cc01551a67ca95b28679c2f46 (patch)
tree369f251d4ed639b043209836760f484073765b35
parentFix euse to always prefer /etc/portage/make.conf over /etc/make.conf. Bug 434672 (diff)
downloadgentoolkit-53eadf79c9bd138cc01551a67ca95b28679c2f46.zip
gentoolkit-53eadf79c9bd138cc01551a67ca95b28679c2f46.tar.gz
gentoolkit-53eadf79c9bd138cc01551a67ca95b28679c2f46.tar.bz2
py 3.3 fix for bug 436934. Change the level parameter for the __import__() call.
-rw-r--r--pym/gentoolkit/enalyze/__init__.py2
-rw-r--r--pym/gentoolkit/equery/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pym/gentoolkit/enalyze/__init__.py b/pym/gentoolkit/enalyze/__init__.py
index b43a82c..3e07d77 100644
--- a/pym/gentoolkit/enalyze/__init__.py
+++ b/pym/gentoolkit/enalyze/__init__.py
@@ -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:
diff --git a/pym/gentoolkit/equery/__init__.py b/pym/gentoolkit/equery/__init__.py
index 65f3ec1..a844f51 100644
--- a/pym/gentoolkit/equery/__init__.py
+++ b/pym/gentoolkit/equery/__init__.py
@@ -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: