summaryrefslogtreecommitdiff
path: root/portato/plugin.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-14 22:28:19 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-14 22:28:19 +0200
commit67d927540ee10dbf70b9b71eda152605a63bbc90 (patch)
tree7247e43b1b159439743e6c77edfd4124b9fe63e2 /portato/plugin.py
parent06f03d7aa376c8164eff5068a412e76cf2c0b0a9 (diff)
parente5b5b6793999a5094832b1819cc6b5e5e5f0ca39 (diff)
downloadportato-67d927540ee10dbf70b9b71eda152605a63bbc90.tar.gz
portato-67d927540ee10dbf70b9b71eda152605a63bbc90.tar.bz2
portato-67d927540ee10dbf70b9b71eda152605a63bbc90.zip
Merge branch '0.14'
* 0.14: Make some useless info messages being debug statements Improve the C modules Small modifications made to the French translation (typos, grammar). Fixed the unicode support and stuff ... and also made eix faster :) Disable debug messages by default Better eix error inheritance and handling
Diffstat (limited to 'portato/plugin.py')
-rw-r--r--portato/plugin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/plugin.py b/portato/plugin.py
index cfe3d93..f510540 100644
--- a/portato/plugin.py
+++ b/portato/plugin.py
@@ -461,7 +461,7 @@ class PluginQueue (object):
else:
for w in p.widgets:
WidgetSlot.slots[w.slot].add_widget(w)
- info(_("Widgets of plugin '%s' loaded."), p.name)
+ debug("Widgets of plugin '%s' loaded.", p.name)
def add (self, plugin, disable = False):
"""
@@ -538,7 +538,7 @@ class PluginQueue (object):
call.call(*hargs, **hkwargs)
if active.override: # override
- info(_("Overriding hook '%(hook)s' with plugin '%(plugin)s'."), {"hook": hook, "plugin": active.override.plugin.name})
+ debug("Overriding hook '%(hook)s' with plugin '%(plugin)s'.", {"hook": hook, "plugin": active.override.plugin.name})
ret = active.override.call(*hargs, **hkwargs)
else: # normal
ret = func(*args, **kwargs)
@@ -630,7 +630,7 @@ class PluginQueue (object):
for l in list:
callList.append(l)
- info(_("Dependant '%(dep)s' for '%(hook)s' in plugin '%(plugin)s' not found! Adding nevertheless."), {"hook": hook, "plugin": l.plugin.name, "dep": l.dep})
+ debug("Dependant '%(dep)s' for '%(hook)s' in plugin '%(plugin)s' not found! Adding nevertheless.", {"hook": hook, "plugin": l.plugin.name, "dep": l.dep})
for hook in before:
resolve(hook, before[hook], "before", 0)