Skip to content
Permalink
Browse files

Fix plugin dependencies

  • Loading branch information
elpaso committed May 9, 2019
1 parent af6d3d7 commit 0b3043fc75494a39a9e4fa98822c27639bbd9564
Showing with 0 additions and 2 deletions.
  1. +0 −2 python/pyplugin_installer/plugindependencies.py
@@ -29,7 +29,6 @@ def __get_plugin_deps(plugin_id):
result = {}
updateAvailablePlugins()
try:
global plugins_metadata_parser
parser = plugins_metadata_parser[plugin_id]
plugin_deps = parser.get('general', 'plugin_dependencies')
except (NoOptionError, NoSectionError, KeyError):
@@ -68,7 +67,6 @@ def find_dependencies(plugin_id, plugin_data=None, plugin_deps=None, installed_p
plugin_deps = __get_plugin_deps(plugin_id)

if installed_plugins is None:
global plugins_metadata_parser
updateAvailablePlugins()
metadata_parser = plugins_metadata_parser
installed_plugins = {metadata_parser[k].get('general', 'name'): metadata_parser[k].get('general', 'version') for k, v in metadata_parser.items()}

0 comments on commit 0b3043f

Please sign in to comment.
You can’t perform that action at this time.