Blame SOURCES/0042-include-package-in-AVC-bugzilla-bug-reports.patch

4b6aa8
From d5a089e10c0af7b362689a113000c38341667e29 Mon Sep 17 00:00:00 2001
4b6aa8
From: Jakub Filak <jfilak@redhat.com>
4b6aa8
Date: Fri, 4 Apr 2014 15:35:22 +0200
4b6aa8
Subject: [LIBREPORT PATCH 42/93] include 'package' in AVC bugzilla bug reports
4b6aa8
4b6aa8
Resolves rhbz#1075452
4b6aa8
4b6aa8
Signed-off-by: Jakub Filak <jfilak@redhat.com>
4b6aa8
---
4b6aa8
 src/report-python/__init__.py | 4 +++-
4b6aa8
 1 file changed, 3 insertions(+), 1 deletion(-)
4b6aa8
4b6aa8
diff --git a/src/report-python/__init__.py b/src/report-python/__init__.py
4b6aa8
index 2c58736..c11b000 100644
4b6aa8
--- a/src/report-python/__init__.py
4b6aa8
+++ b/src/report-python/__init__.py
4b6aa8
@@ -147,7 +147,7 @@ def getVersion():
4b6aa8
 
4b6aa8
     return _hardcoded_default_version
4b6aa8
 
4b6aa8
-def createAlertSignature(component, hashmarkername, hashvalue, summary, alertSignature, executable=None):
4b6aa8
+def createAlertSignature(component, hashmarkername, hashvalue, summary, alertSignature, executable=None, package=None):
4b6aa8
     pd = problem_data()
4b6aa8
     pd.add("component", component)
4b6aa8
     pd.add("hashmarkername", hashmarkername)
4b6aa8
@@ -156,6 +156,8 @@ def createAlertSignature(component, hashmarkername, hashvalue, summary, alertSig
4b6aa8
     pd.add("description", alertSignature)
4b6aa8
     if executable:
4b6aa8
         pd.add("executable", executable)
4b6aa8
+    if package:
4b6aa8
+        pd.add("package", package)
4b6aa8
     pd.add_basics()
4b6aa8
 
4b6aa8
     return pd
4b6aa8
-- 
4b6aa8
1.8.3.1
4b6aa8