summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-05-25 18:00:21 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2010-05-25 18:00:21 +0200
commitff180e78bb8d4dd8b4b7d3a533639130e4aa9b58 (patch)
tree0b3369f7c390fef1622db6927ef1400ff3b759e5
parent254e090d2154492695ff691dc2c1c010d7e47efd (diff)
downloadabrt-ff180e78bb8d4dd8b4b7d3a533639130e4aa9b58.tar.gz
abrt-ff180e78bb8d4dd8b4b7d3a533639130e4aa9b58.tar.xz
abrt-ff180e78bb8d4dd8b4b7d3a533639130e4aa9b58.zip
GUI: fixed per package reporter configuration
- the per-package reporter has higher priority so it shouldn't be overwritten by the group reporter
-rw-r--r--src/Gui/CCReporterDialog.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Gui/CCReporterDialog.py b/src/Gui/CCReporterDialog.py
index 784de1d7..0a0f1098 100644
--- a/src/Gui/CCReporterDialog.py
+++ b/src/Gui/CCReporterDialog.py
@@ -287,7 +287,13 @@ class ReporterSelector():
self.reporters = []
AnalyzerActionsAndReporters = self.settings["AnalyzerActionsAndReporters"]
try:
- reporters = AnalyzerActionsAndReporters[crashdump.getAnalyzerName()]
+ reporters = None
+ try:
+ reporters = AnalyzerActionsAndReporters[self.dump.getAnalyzerName()+":"+self.dump.getPackageName()]
+ except KeyError:
+ pass
+ if not reporters:
+ reporters = AnalyzerActionsAndReporters[crashdump.getAnalyzerName()]
for reporter_name in reporters.split(','):
reporter = pluginlist.getReporterByName(reporter_name)
if reporter: