summaryrefslogtreecommitdiffstats
path: root/src/Hooks
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hooks')
-rw-r--r--src/Hooks/abrt_exception_handler.py.in2
-rw-r--r--src/Hooks/sitecustomize.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Hooks/abrt_exception_handler.py.in b/src/Hooks/abrt_exception_handler.py.in
index 2b893e3..33c4291 100644
--- a/src/Hooks/abrt_exception_handler.py.in
+++ b/src/Hooks/abrt_exception_handler.py.in
@@ -108,7 +108,7 @@ def write_dump(pid, tb_uuid, tb):
import time
ttime = int(time.time())
# localstatedir
- dir_name = "@DEBUG_DUMP_DIR@/pyhook-%s-%s" % (ttime , pid)
+ dir_name = "@DEBUG_DUMP_DIR@/pyhook-%s-%s" % (ttime, pid)
dd = ABRTUtils.CDebugDump()
try:
#os.mkdir(dir_name)
diff --git a/src/Hooks/sitecustomize.py b/src/Hooks/sitecustomize.py
index 5e7b524..abae27b 100644
--- a/src/Hooks/sitecustomize.py
+++ b/src/Hooks/sitecustomize.py
@@ -22,9 +22,9 @@ if conf.has_key("enabled"):
if conf["enabled"] == "yes":
try:
from abrt_exception_handler import *
-
+
installExceptionHandler(debug = 1)
except Exception, e:
# FIXME don't print anything, write it to some log file
print e
- pass \ No newline at end of file
+ pass