Blob Blame History Raw
From fcc37ca833fdc20573a1e1a7d46712e243f8615e Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Tue, 25 Nov 2014 15:54:15 +0100
Subject: [PATCH] python: load the configuration from correct file

Python2 exception handler has its configuration stored in python.conf
file.

Related: rhbz#1166633

Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
 src/hooks/abrt_exception_handler.py.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hooks/abrt_exception_handler.py.in b/src/hooks/abrt_exception_handler.py.in
index fa4f34f..8412e5f 100644
--- a/src/hooks/abrt_exception_handler.py.in
+++ b/src/hooks/abrt_exception_handler.py.in
@@ -177,7 +177,7 @@ def require_abs_path():
     import problem
 
     try:
-        conf = problem.load_plugin_conf_file("python3.conf")
+        conf = problem.load_plugin_conf_file("python.conf")
     except OsError:
         return False
 
-- 
2.1.0