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