svn path=/main/trunk/; revision=13698
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
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)
--- /dev/null
+# Copyright 2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$