summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-08-11 17:32:39 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-08-11 17:32:39 +0200
commit1af7a6b355e99455ef141d72903d0d5d2efd42f7 (patch)
tree90128a13c6f3eab7e68ca18762822e5e6d1210e1 /src
parent0068473524278198469bf2f53ea19cbcde75b189 (diff)
downloadabrt-1af7a6b355e99455ef141d72903d0d5d2efd42f7.tar.gz
abrt-1af7a6b355e99455ef141d72903d0d5d2efd42f7.tar.xz
abrt-1af7a6b355e99455ef141d72903d0d5d2efd42f7.zip
PYHOOK: UID is handled as integer
Diffstat (limited to 'src')
-rw-r--r--src/Hooks/abrt_exception_handler.py.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hooks/abrt_exception_handler.py.in b/src/Hooks/abrt_exception_handler.py.in
index f4ebbb56..cbf88c85 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")