summaryrefslogtreecommitdiffstats
path: root/pym/portage/elog_modules/mod_custom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/elog_modules/mod_custom.py')
-rw-r--r--pym/portage/elog_modules/mod_custom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/elog_modules/mod_custom.py b/pym/portage/elog_modules/mod_custom.py
index f95e1999a..5fae84078 100644
--- a/pym/portage/elog_modules/mod_custom.py
+++ b/pym/portage/elog_modules/mod_custom.py
@@ -1,7 +1,7 @@
-import elog_modules.mod_save, portage.exec, portage.exception
+import portage.elog_modules.mod_save, portage.process, portage.exception
def process(mysettings, cpv, logentries, fulltext):
- elogfilename = elog_modules.mod_save.process(mysettings, cpv, logentries, fulltext)
+ elogfilename = portage.elog_modules.mod_save.process(mysettings, cpv, logentries, fulltext)
if (not "PORTAGE_ELOG_COMMAND" in mysettings.keys()) \
or len(mysettings["PORTAGE_ELOG_COMMAND"]) == 0:
@@ -10,7 +10,7 @@ def process(mysettings, cpv, logentries, fulltext):
mylogcmd = mysettings["PORTAGE_ELOG_COMMAND"]
mylogcmd = mylogcmd.replace("${LOGFILE}", elogfilename)
mylogcmd = mylogcmd.replace("${PACKAGE}", cpv)
- retval = portage.exec.spawn_bash(mylogcmd)
+ retval = portage.process.spawn_bash(mylogcmd)
if retval != 0:
raise portage.exception.PortageException("!!! PORTAGE_ELOG_COMMAND failed with exitcode %d" % retval)
return