--- a/plugin_pack.py Tue Apr 29 00:07:25 2008 -0400
+++ b/plugin_pack.py Tue Apr 29 23:13:19 2008 -0400
@@ -112,11 +112,8 @@
# this is kind of hacky, but if we have types, we check to see
# if the type is in list of types to load.
+ if types and not p.type in types: # now we check if the give plugins depends match the search
@@ -144,11 +141,8 @@
for name in self.plugins.keys():
plugin = self.plugins[name]
- plugin.depends.index(dep)
+ if dep in plugin.depends: