Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Handle broken plugins when searching for dependencies
  • Loading branch information
elpaso committed Apr 12, 2019
1 parent aa297b5 commit 507e327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyplugin_installer/plugindependencies.py
Expand Up @@ -29,10 +29,10 @@ def __get_plugin_deps(plugin_id):

result = {}
metadata_parser = updateAvailablePlugins()
parser = metadata_parser[plugin_id]
try:
parser = metadata_parser[plugin_id]
plugin_deps = parser.get('general', 'plugin_dependencies')
except (NoOptionError, NoSectionError):
except (NoOptionError, NoSectionError, KeyError):
return result

for dep in plugin_deps.split(','):
Expand Down

0 comments on commit 507e327

Please sign in to comment.