Blame 0015-a-a-ureport-fix-calling-of-run_event_on_problem_dir.patch

345ed6c
From 9b1b0c6c49d19a63a0e781fcc56d3b4ea530f2da Mon Sep 17 00:00:00 2001
345ed6c
From: Matej Habrnal <mhabrnal@redhat.com>
345ed6c
Date: Wed, 18 Jan 2017 09:49:10 +0100
345ed6c
Subject: [PATCH] a-a-ureport: fix calling of run_event_on_problem_dir
345ed6c
345ed6c
We just need to call 'run_event_on_problem_dir' and not
345ed6c
'report.run_event_on_problem_dir' as the function is imported as a solo
345ed6c
identifier from the report module.
345ed6c
345ed6c
Resolved #1413637
345ed6c
345ed6c
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
345ed6c
---
345ed6c
 src/plugins/abrt-action-ureport | 2 +-
345ed6c
 1 file changed, 1 insertion(+), 1 deletion(-)
345ed6c
345ed6c
diff --git a/src/plugins/abrt-action-ureport b/src/plugins/abrt-action-ureport
345ed6c
index a73e7f1..37595f1 100755
345ed6c
--- a/src/plugins/abrt-action-ureport
345ed6c
+++ b/src/plugins/abrt-action-ureport
345ed6c
@@ -78,7 +78,7 @@ def get_bugzilla_reports(reported_to):
345ed6c
     return bugs
345ed6c
 
345ed6c
 def run_event(event_name, dump_dir_name):
345ed6c
-    state, ret = report.run_event_on_problem_dir(dump_dir_name, event_name)
345ed6c
+    state, ret = run_event_on_problem_dir(dump_dir_name, event_name)
345ed6c
     if ret == 0 and state.children_count == 0:
345ed6c
         log1("Didn't find definition of event '%s'", event_name)
345ed6c
 
345ed6c
-- 
345ed6c
2.9.3
345ed6c