summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-07-27 23:59:10 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-07-27 23:59:10 +0200
commit88592bc89f608a71c417d309eea6205bc36e2bab (patch)
tree1926a06d547904e2b6266372fa64436955f607cd
parentad83fdec85e289974d591586383155aa71b10566 (diff)
downloadportato-88592bc89f608a71c417d309eea6205bc36e2bab.tar.gz
portato-88592bc89f608a71c417d309eea6205bc36e2bab.tar.bz2
portato-88592bc89f608a71c417d309eea6205bc36e2bab.zip
Dependencies for the call graph should not be hard
Diffstat (limited to '')
-rw-r--r--portato/plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/portato/plugin.py b/portato/plugin.py
index 0bb161c..befc06d 100644
--- a/portato/plugin.py
+++ b/portato/plugin.py
@@ -501,7 +501,8 @@ class PluginQueue (object):
named = newNamed
for l in list:
- warning(_("Command for hook '%(hook)s' in plugin '%(plugin)s' could not be added due to missing dependant: '%(dep)s'!"), {"hook": hook, "plugin": l.plugin.name, "dep": l.dep})
+ 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})
for hook in before:
resolve(hook, before[hook], "before", 0)