summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/main.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-27 04:07:39 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-27 04:07:39 +0000
commit92a9759a0ce171e7980b1f155f18121d14b00bd8 (patch)
treeb39d5dddc4923ff0428370c697f15ebd6cdbbb27 /pym/_emerge/main.py
parentce541b51a218718b038addea6efe5a300e0937c9 (diff)
downloadportage-92a9759a0ce171e7980b1f155f18121d14b00bd8.tar.gz
portage-92a9759a0ce171e7980b1f155f18121d14b00bd8.tar.bz2
portage-92a9759a0ce171e7980b1f155f18121d14b00bd8.zip
Move portage._global_updates to a submodule.
svn path=/main/trunk/; revision=15475
Diffstat (limited to 'pym/_emerge/main.py')
-rw-r--r--pym/_emerge/main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index 43655c5b3..9fe255da2 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -36,6 +36,7 @@ from portage.dbapi.dep_expand import dep_expand
from portage.util import normalize_path as normpath
from portage.util import writemsg, writemsg_level, writemsg_stdout
from portage.sets import SETPREFIX
+from portage._global_updates import _global_updates
from _emerge.actions import action_config, action_sync, action_metadata, \
action_regen, action_search, action_uninstall, action_info, action_build, \
@@ -1184,7 +1185,7 @@ def emerge_main():
return rval
if myaction not in ('help', 'info', 'version') and \
- portage._global_updates(trees, mtimedb["updates"]):
+ _global_updates(trees, mtimedb["updates"]):
mtimedb.commit()
# Reload the whole config from scratch.
settings, trees, mtimedb = load_emerge_config(trees=trees)