From 4dade2c17002cc8cb3d2a99f6411feb59c4bf01e Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Thu, 13 Aug 2009 13:35:53 +0200 Subject: Make the plugins now use the implicit 'helper' module --- plugins/etc_proposals.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/etc_proposals.py') 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 -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.""" -- cgit v1.2.3-70-g09d2