From 2c8c422ef09b253b2cd7c2cc9fde9dda76cd3bb2 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 18 Aug 2009 13:15:23 +0200 Subject: whitespace cleanup, no code changes Signed-off-by: Denys Vlasenko --- src/Hooks/abrt_exception_handler.py.in | 2 +- src/Hooks/sitecustomize.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Hooks') diff --git a/src/Hooks/abrt_exception_handler.py.in b/src/Hooks/abrt_exception_handler.py.in index 2b893e31..33c4291b 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 5e7b5244..abae27bf 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 -- cgit