abrt/0027-python-load-the-configuration-from-correct-file.patch
Matej Habrnal 0b651cb081 abrt 2.2.2-2
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
2015-02-16 14:13:16 +01:00

31 lines
928 B
Diff

From 15a068e4bbef7da966a8f753277fce065e50d7e4 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
--
1.9.3