diff options
author | necoro <> | 2007-07-13 04:09:51 +0000 |
---|---|---|
committer | necoro <> | 2007-07-13 04:09:51 +0000 |
commit | fc6d232a9357211a44dad3300ff64571620aa1bf (patch) | |
tree | 2f31112805b8d05c94978775a183668dc260367c /portato/plugins/resume_loop.py | |
parent | b5e8e2eb2b8bc9936070028ecf91ff8d0b7c33ef (diff) | |
download | portato-fc6d232a9357211a44dad3300ff64571620aa1bf.tar.gz portato-fc6d232a9357211a44dad3300ff64571620aa1bf.tar.bz2 portato-fc6d232a9357211a44dad3300ff64571620aa1bf.zip |
new fancier log output
Diffstat (limited to '')
-rw-r--r-- | portato/plugins/resume_loop.py | 6 |
1 files changed, 3 insertions, 3 deletions
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...") |