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

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