From efdd172e823cfc59d33c7acf30510cf05c2791fb Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 13 Oct 2011 15:42:44 +0200 Subject: fixes syntax error on old python versions --- module/plugins/Plugin.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'module/plugins/Plugin.py') diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 9417a4bfd..7c9e7c15c 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -81,17 +81,17 @@ class Base(object): self.config = core.config #log functions - def logInfo(self, msg): - self.log.info("%s: %s" % (self.__name__, msg)) + def logInfo(self, *args): + self.log.info("%s: %s" % (self.__name__, " | ".join(args))) - def logWarning(self, msg): - self.log.warning("%s: %s" % (self.__name__, msg)) + def logWarning(self, *args): + self.log.warning("%s: %s" % (self.__name__, " | ".join(args))) - def logError(self, msg): - self.log.error("%s: %s" % (self.__name__, msg)) + def logError(self, *args): + self.log.error("%s: %s" % (self.__name__, " | ".join(args))) - def logDebug(self, msg): - self.log.debug("%s: %s" % (self.__name__, msg)) + def logDebug(self, *args): + self.log.debug("%s: %s" % (self.__name__, "| ".join(args))) def setConf(self, option, value): -- cgit v1.2.3