def reloadPluginType(self, type): """ Reloads plugins of a given type and updates their information """ Plugins.reloadPluginsByType(type) if self.hasPluginType(type, mustBeActive = False): self.getPluginType(type).updateInfo() else: raise PluginError("Error while trying to reload plugins of the type: " + type + ". Plugins of the type " + type + "do not exist")
def reloadPluginType(self, type): """ Reloads plugins of a given type and updates their information """ Plugins.reloadPluginsByType(type) if self.hasPluginType(type, mustBeActive=False): self.getPluginType(type).updateInfo() else: raise PluginError( "Error while trying to reload plugins of the type: " + type + ". Plugins of the type " + type + "do not exist")