def uninstall_plugins_thread(self): for p in self.plug: try: plugin_manager.uninstall_plugin(p) self.emit(SIGNAL("plugin_uninstalled(PyQt_PyObject)"), p) except Exception as e: logger.warning("Impossible to uninstall (%s): %s", p[0], e)
def uninstall_plugins_thread(self): """Uninstall a plugin""" for p in self.plug: try: plugin_manager.uninstall_plugin(p) self.plugin_uninstalled.emit(p) except Exception as e: logger.warning("Impossible to uninstall (%s): %s", p[0], e)
def update_plugin_thread(self): """ Updates some plugins """ for p in self.plug: plugin_manager.uninstall_plugin(p) plugin_manager.download_plugin(p[5]) plugin_manager.update_local_plugin_descriptor([p]) self._manager.reset_installed_plugins()
def update_plugin_thread(self): """ Updates some plugins """ for p in self.plug: try: plugin_manager.uninstall_plugin(p) name = plugin_manager.download_plugin(p[5]) p.append(name) plugin_manager.update_local_plugin_descriptor([p]) self._manager.reset_installed_plugins() except Exception as e: logger.warning("Impossible to update (%s): %s", p[0], e)
def uninstall_plugins_thread(self): for p in self.plug: plugin_manager.uninstall_plugin(p) self.emit(SIGNAL("plugin_uninstalled(PyQt_PyObject)"), p)