diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-11 17:32:39 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-11 17:32:39 +0200 |
commit | 1af7a6b355e99455ef141d72903d0d5d2efd42f7 (patch) | |
tree | 90128a13c6f3eab7e68ca18762822e5e6d1210e1 /src | |
parent | 0068473524278198469bf2f53ea19cbcde75b189 (diff) | |
download | abrt-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.in | 4 |
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") |