diff options
-rwxr-xr-x | bin/emerge | 4 | ||||
-rw-r--r-- | pym/_emerge/__init__.py | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge index d3cf24fc8..8ffa6e435 100755 --- a/bin/emerge +++ b/bin/emerge @@ -26,7 +26,7 @@ def debug_signal(signum, frame): signal.signal(signal.SIGUSR1, debug_signal) try: - import _emerge + from _emerge.main import emerge_main except ImportError: from os import path as osp import sys @@ -37,7 +37,7 @@ if __name__ == "__main__": import sys from portage.exception import ParseError, PermissionDenied try: - retval = _emerge.emerge_main() + retval = emerge_main() except PermissionDenied, e: sys.stderr.write("Permission denied: '%s'\n" % str(e)) sys.exit(e.errno) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py new file mode 100644 index 000000000..95cbda1ed --- /dev/null +++ b/pym/_emerge/__init__.py @@ -0,0 +1,3 @@ +# Copyright 2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ |