diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-29 19:58:31 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-29 19:58:31 +0200 |
commit | 70aac3b744156d9b77b6720b23e63f7f979c7b96 (patch) | |
tree | 944d43feb6c4fbf649db1b671527493ccfa84f1e /src/Gui/PluginList.py | |
parent | 93101c6aae7b2aaa1d1533c37cf0b0109689c9e1 (diff) | |
download | abrt-70aac3b744156d9b77b6720b23e63f7f979c7b96.tar.gz abrt-70aac3b744156d9b77b6720b23e63f7f979c7b96.tar.xz abrt-70aac3b744156d9b77b6720b23e63f7f979c7b96.zip |
remove DBusManager::uniq_name
also fix some whitespace damage
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Gui/PluginList.py')
-rw-r--r-- | src/Gui/PluginList.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/Gui/PluginList.py b/src/Gui/PluginList.py index 431a5f62..13c9537f 100644 --- a/src/Gui/PluginList.py +++ b/src/Gui/PluginList.py @@ -33,20 +33,19 @@ class PluginInfoList(list): return else: print "db == None!" - - + def getEnabledPlugins(self): return [x for x in self if x["Enabled"] == 'yes'] - + def getActionPlugins(self): return [x for x in self if x["Enabled"] == 'yes' and x["Type"] == 'Action'] - + def getDatabasePlugins(self): return [x for x in self if x["Enabled"] == 'yes' and x["Type"] == 'Database'] - + def getAnalyzerPlugins(self): return [x for x in self if x["Enabled"] == 'yes' and x["Type"] == 'Analyzer'] - + def getReporterPlugins(self): return [x for x in self if x["Enabled"] == 'yes' and x["Type"] == 'Reporter'] |