diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-06-26 20:10:06 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-06-26 20:10:06 +0000 |
commit | e6b23dd14b7da8f88e2904ca6fbeb0e0efa08eee (patch) | |
tree | 6b9f45a551252f4abb294bb68aad04f2bd105341 | |
parent | 2801d985efc89ea124489b8b4b5d8452e40615a7 (diff) | |
download | portage-e6b23dd14b7da8f88e2904ca6fbeb0e0efa08eee.tar.gz portage-e6b23dd14b7da8f88e2904ca6fbeb0e0efa08eee.tar.bz2 portage-e6b23dd14b7da8f88e2904ca6fbeb0e0efa08eee.zip |
Move __init__.py to main.py.
svn path=/main/trunk/; revision=13698
-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$ |