From c17adabeb018c9f425a1e97ac79f16514afa2381 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Thu, 8 Feb 2007 13:39:03 +0000 Subject: [PATCH] Create namespace for emerge svn path=/main/trunk/; revision=5931 --- bin/emerge | 7 ++++--- pym/{portage/emergehelp.py => emerge/help.py} | 0 pym/emergehelp.py | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) rename pym/{portage/emergehelp.py => emerge/help.py} (100%) diff --git a/bin/emerge b/bin/emerge index 952f83397..bb8bf5b12 100755 --- a/bin/emerge +++ b/bin/emerge @@ -32,7 +32,8 @@ del os.environ["PORTAGE_LEGACY_GLOBALS"] from portage import digraph, portdbapi from portage.const import NEWS_LIB_PATH -import portage.emergehelp, portage.xpak, commands, errno, re, socket, time, types +import emerge.help +import portage.xpak, commands, errno, re, socket, time, types import output from portage.output import blue, bold, colorize, darkblue, darkgreen, darkred, green, \ havecolor, nc_len, nocolor, red, teal, turquoise, white, xtermTitle, \ @@ -5210,7 +5211,7 @@ def emerge_main(): trees[settings["ROOT"]]["vartree"].dbapi) sys.exit(0) elif "--help" in myopts: - portage.emergehelp.help(myaction, myopts, portage.output.havecolor) + emerge.help.help(myaction, myopts, portage.output.havecolor) sys.exit(0) if portage.wheelgid == portage.portage_gid: @@ -5222,7 +5223,7 @@ def emerge_main(): print "myopts", myopts if not myaction and not myfiles and "--resume" not in myopts: - portage.emergehelp.help(myaction, myopts, portage.output.havecolor) + emerge.help.help(myaction, myopts, portage.output.havecolor) sys.exit(1) # check if root user is the current user for the actions where emerge needs this diff --git a/pym/portage/emergehelp.py b/pym/emerge/help.py similarity index 100% rename from pym/portage/emergehelp.py rename to pym/emerge/help.py diff --git a/pym/emergehelp.py b/pym/emergehelp.py index b3d29019d..dbfcb4af5 120000 --- a/pym/emergehelp.py +++ b/pym/emergehelp.py @@ -1 +1 @@ -portage/emergehelp.py \ No newline at end of file +emerge/help.py \ No newline at end of file -- 2.26.2