Remove unused variables

This commit is contained in:
Philipp Hörist 2017-09-29 02:41:03 +02:00
parent dd39067ef7
commit b9aba06f71
1 changed files with 0 additions and 7 deletions

View File

@ -135,9 +135,6 @@ class PluginsWindow(object):
model, iter = treeview_selection.get_selected()
if iter:
plugin = model.get_value(iter, Column.PLUGIN)
plugin_name = model.get_value(iter, Column.NAME)
is_active = model.get_value(iter, Column.ACTIVE)
self._display_installed_plugin_info(plugin)
else:
self._clear_installed_plugin_info()
@ -236,8 +233,6 @@ class PluginsWindow(object):
model, iter = selection.get_selected()
if iter:
plugin = model.get_value(iter, Column.PLUGIN)
plugin_name = model.get_value(iter, Column.NAME)
is_active = model.get_value(iter, Column.ACTIVE)
if isinstance(plugin.config_dialog, GajimPluginConfigDialog):
plugin.config_dialog.run(self.window)
@ -256,8 +251,6 @@ class PluginsWindow(object):
model, iter = selection.get_selected()
if iter:
plugin = model.get_value(iter, Column.PLUGIN)
plugin_name = model.get_value(iter, Column.NAME)
is_active = model.get_value(iter, Column.ACTIVE)
try:
app.plugin_manager.remove_plugin(plugin)
except PluginsystemError as e: