summaryrefslogtreecommitdiff
path: root/plugins/etc_proposals.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-08-13 13:35:53 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-08-13 13:35:53 +0200
commit4dade2c17002cc8cb3d2a99f6411feb59c4bf01e (patch)
treeed0955a6ac7bb15d699ccba4013dfa24037a0371 /plugins/etc_proposals.py
parentfba4f1e38e81789b08d7c6fb5c61c1aabe4b769e (diff)
downloadportato-4dade2c17002cc8cb3d2a99f6411feb59c4bf01e.tar.gz
portato-4dade2c17002cc8cb3d2a99f6411feb59c4bf01e.tar.bz2
portato-4dade2c17002cc8cb3d2a99f6411feb59c4bf01e.zip
Make the plugins now use the implicit 'helper' module
Diffstat (limited to '')
-rw-r--r--plugins/etc_proposals.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/etc_proposals.py b/plugins/etc_proposals.py
index 83b38f7..052f3d3 100644
--- a/plugins/etc_proposals.py
+++ b/plugins/etc_proposals.py
@@ -10,8 +10,6 @@
#
# Written by René 'Necoro' Neumann <necoro@necoro.net>
-from portato.helper import error
-
import os
from subprocess import Popen
@@ -31,7 +29,7 @@ class EtcProposals (WidgetPlugin):
if os.getuid() == 0:
Popen(self.prog+options)
else:
- error("ETC_PROPOSALS :: %s",_("Cannot start etc-proposals. Not root!"))
+ helper.error("ETC_PROPOSALS :: %s",_("Cannot start etc-proposals. Not root!"))
def hook (self, *args, **kwargs):
"""Entry point for this plugin."""