summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Python.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-19 18:08:01 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-19 18:08:01 +0100
commitc781b46915c73f8f7b12efddd0357930eb1df8bb (patch)
treec6a23126b702689d9d2842bbd1f3f46428995154 /lib/Plugins/Python.cpp
parent811e5d7e9917558b9529c42a9cc86a773b31c0c2 (diff)
downloadabrt-c781b46915c73f8f7b12efddd0357930eb1df8bb.tar.gz
abrt-c781b46915c73f8f7b12efddd0357930eb1df8bb.tar.xz
abrt-c781b46915c73f8f7b12efddd0357930eb1df8bb.zip
move all FILENAME_xxx defines to inc/CrashTypes.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/Python.cpp')
-rw-r--r--lib/Plugins/Python.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Plugins/Python.cpp b/lib/Plugins/Python.cpp
index 23d6f5c..79247d6 100644
--- a/lib/Plugins/Python.cpp
+++ b/lib/Plugins/Python.cpp
@@ -1,15 +1,14 @@
+#include "abrtlib.h"
#include "Python.h"
#include "DebugDump.h"
#include "ABRTException.h"
-#define FILENAME_BACKTRACE "backtrace"
-
static std::string CreateHash(const char *pDebugDumpDir)
{
std::string uuid;
CDebugDump dd;
dd.Open(pDebugDumpDir);
- dd.LoadText("uuid", uuid);
+ dd.LoadText(FILENAME_UUID, uuid);
return uuid;
}