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

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