break instead of continue

This commit is contained in:
Andreas Preikschat 2011-12-07 21:41:19 +01:00
parent 32f2dcac59
commit 66c183a6b8
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class PluginManager(object):
thisdepth = len(path.split(os.sep))
if thisdepth - startdepth > 2:
# skip anything lower down
continue
break
modulename = os.path.splitext(path)[0]
prefix = os.path.commonprefix([self.basepath, path])
# hack off the plugin base path