Blame 0027-python-load-the-configuration-from-correct-file.patch
|
Matej Habrnal |
0b651c |
From 15a068e4bbef7da966a8f753277fce065e50d7e4 Mon Sep 17 00:00:00 2001
|
|
Matej Habrnal |
0b651c |
From: Jakub Filak <jfilak@redhat.com>
|
|
Matej Habrnal |
0b651c |
Date: Tue, 25 Nov 2014 15:54:15 +0100
|
|
Matej Habrnal |
0b651c |
Subject: [PATCH] python: load the configuration from correct file
|
|
Matej Habrnal |
0b651c |
|
|
Matej Habrnal |
0b651c |
Python2 exception handler has its configuration stored in python.conf
|
|
Matej Habrnal |
0b651c |
file.
|
|
Matej Habrnal |
0b651c |
|
|
Matej Habrnal |
0b651c |
Related: rhbz#1166633
|
|
Matej Habrnal |
0b651c |
|
|
Matej Habrnal |
0b651c |
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
Matej Habrnal |
0b651c |
---
|
|
Matej Habrnal |
0b651c |
src/hooks/abrt_exception_handler.py.in | 2 +-
|
|
Matej Habrnal |
0b651c |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Matej Habrnal |
0b651c |
|
|
Matej Habrnal |
0b651c |
diff --git a/src/hooks/abrt_exception_handler.py.in b/src/hooks/abrt_exception_handler.py.in
|
|
Matej Habrnal |
0b651c |
index fa4f34f..8412e5f 100644
|
|
Matej Habrnal |
0b651c |
--- a/src/hooks/abrt_exception_handler.py.in
|
|
Matej Habrnal |
0b651c |
+++ b/src/hooks/abrt_exception_handler.py.in
|
|
Matej Habrnal |
0b651c |
@@ -177,7 +177,7 @@ def require_abs_path():
|
|
Matej Habrnal |
0b651c |
import problem
|
|
Matej Habrnal |
0b651c |
|
|
Matej Habrnal |
0b651c |
try:
|
|
Matej Habrnal |
0b651c |
- conf = problem.load_plugin_conf_file("python3.conf")
|
|
Matej Habrnal |
0b651c |
+ conf = problem.load_plugin_conf_file("python.conf")
|
|
Matej Habrnal |
0b651c |
except OsError:
|
|
Matej Habrnal |
0b651c |
return False
|
|
Matej Habrnal |
0b651c |
|
|
Matej Habrnal |
0b651c |
--
|
|
Matej Habrnal |
0b651c |
1.9.3
|
|
Matej Habrnal |
0b651c |
|