Commit 753ebea1 by Michael DeHaan

Prefer categorized modules to uncategorized, such that if someone does an…

Prefer categorized modules to uncategorized, such that if someone does an install on top of old content
the categorized modules will win over the 1.1 uncategorized modules, as the packages may not automatically
clean up the old content.
parent cd57d599
......@@ -108,11 +108,11 @@ class PluginLoader(object):
# look in any configured plugin paths, allow one level deep for subcategories
configured_paths = self.config.split(os.pathsep)
for path in configured_paths:
ret.append(path)
contents = glob.glob("%s/*" % path)
for c in contents:
if os.path.isdir(c):
ret.append(c)
ret.append(path)
# look for any plugins installed in the package subtree
ret.extend(self._get_package_paths())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment