Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #9780 from elpaso/bugfix-plugins-dependencies-miss…
Browse files Browse the repository at this point in the history
…ing-metadata

Handle broken plugins when searching for dependencies
  • Loading branch information
elpaso committed Apr 12, 2019
2 parents aa297b5 + 507e327 commit d3f6a5f
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 d3f6a5f

Please sign in to comment.