From 1af7a6b355e99455ef141d72903d0d5d2efd42f7 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Tue, 11 Aug 2009 17:32:39 +0200 Subject: PYHOOK: UID is handled as integer --- src/Hooks/abrt_exception_handler.py.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Hooks/abrt_exception_handler.py.in b/src/Hooks/abrt_exception_handler.py.in index f4ebbb5..cbf88c8 100644 --- a/src/Hooks/abrt_exception_handler.py.in +++ b/src/Hooks/abrt_exception_handler.py.in @@ -112,9 +112,9 @@ def write_dump(pid, tb_uuid, tb): dd = ABRTUtils.CDebugDump() try: #os.mkdir(dir_name) - dd.Create(dir_name, str(os.getuid())) + dd.Create(dir_name, os.getuid()) except Exception, e: - syslog.syslog("abrt: Cannot create dir %s" % dir_name) + syslog.syslog("abrt: Cannot create dir %s %s" % (dir_name, e)) return # save executable fexecutable = open("%s/executable" % dir_name, "w") -- cgit