summaryrefslogtreecommitdiff
path: root/portato/plugins/etc_proposals.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/plugins/etc_proposals.py')
-rw-r--r--portato/plugins/etc_proposals.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/portato/plugins/etc_proposals.py b/portato/plugins/etc_proposals.py
index fa54600..e6c3187 100644
--- a/portato/plugins/etc_proposals.py
+++ b/portato/plugins/etc_proposals.py
@@ -10,7 +10,7 @@
#
# Written by René 'Necoro' Neumann <necoro@necoro.net>
-from portato.helper import debug, am_i_root
+from portato.helper import *
from portato.backend import system
from subprocess import Popen
@@ -50,7 +50,7 @@ def etc_prop (*args, **kwargs):
if float(__version__) < 1.1:
l = len(PortatoEtcProposals())
- debug(l,"files to update")
+ debug("%s files to update.", l)
if l > 0:
Popen(PROG)
@@ -60,7 +60,7 @@ def etc_prop (*args, **kwargs):
if f:
Popen([PROG, "--fastexit"]+f)
else:
- debug("Cannot start etc-proposals. No graphical frontend installed!", error = 1)
+ error("Cannot start etc-proposals. No graphical frontend installed!")
def etc_prop_menu (*args, **kwargs):
if am_i_root():
@@ -72,6 +72,6 @@ def etc_prop_menu (*args, **kwargs):
if f:
Popen([PROG]+f)
else:
- debug("Cannot start etc-proposals. No graphical frontend installed!", error = 1)
+ error("Cannot start etc-proposals. No graphical frontend installed!")
else:
- debug("Cannot start etc-proposals. Not root!", error = 1)
+ error("Cannot start etc-proposals. Not root!")
> 2007-07-20new Plugin Schemenecoro1-1/+1 2007-07-20new Plugin Schemenecoro9-162/+214 2007-07-13fixesnecoro4-27/+37 2007-07-13new fancier log outputnecoro14-127/+116 2007-07-11added SIGSTOP/SIGCONT support; SIGTERM now works ;)necoro8-208/+275 2007-07-09bug in shutdown pluginnecoro2-5/+12 2007-07-09added resume_loop pluginnecoro1-1/+1 2007-07-09added resume_loop pluginnecoro10-22/+162 2007-07-07some more documentationnecoro6-4/+108 2007-07-07Some documentation worknecoro7-18/+129