From fc6d232a9357211a44dad3300ff64571620aa1bf Mon Sep 17 00:00:00 2001 From: necoro <> Date: Fri, 13 Jul 2007 04:09:51 +0000 Subject: new fancier log output --- portato/plugins/resume_loop.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'portato/plugins/resume_loop.py') diff --git a/portato/plugins/resume_loop.py b/portato/plugins/resume_loop.py index 9891fee..45c735a 100644 --- a/portato/plugins/resume_loop.py +++ b/portato/plugins/resume_loop.py @@ -13,7 +13,7 @@ import pty from subprocess import call, STDOUT from portato.backend import system -from portato.helper import debug +from portato.helper import debug, warning console = None command = "until emerge --resume --skipfirst; do : ; done" @@ -24,11 +24,11 @@ def set_console (*args, **kwargs): def resume_loop (retcode, *args, **kwargs): if retcode is None: - debug("Resume-loop called while process is still running!", warn = True) + warning("Resume-loop called while process is still running!") elif retcode == 0: # everything ok - ignore #pass - debug("Everything is ok") + debug("Everything is ok.") else: if console is None: debug("No console for the resume loop...") -- cgit v1.2.3-54-g00ecf