From c781b46915c73f8f7b12efddd0357930eb1df8bb Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 19 Jan 2010 18:08:01 +0100 Subject: move all FILENAME_xxx defines to inc/CrashTypes.h Signed-off-by: Denys Vlasenko --- lib/Plugins/Python.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/Plugins/Python.cpp') 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; } -- cgit From 562cb414ee83452749058c2c976019c663111e55 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 20 Jan 2010 16:42:17 +0100 Subject: split load_crash_data_from_debug_dump from DebugDumpToCrashReport We will need it elsewhere later Signed-off-by: Denys Vlasenko --- lib/Plugins/Python.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Plugins/Python.cpp') diff --git a/lib/Plugins/Python.cpp b/lib/Plugins/Python.cpp index 79247d6..ad95468 100644 --- a/lib/Plugins/Python.cpp +++ b/lib/Plugins/Python.cpp @@ -5,9 +5,9 @@ static std::string CreateHash(const char *pDebugDumpDir) { - std::string uuid; CDebugDump dd; dd.Open(pDebugDumpDir); + std::string uuid; dd.LoadText(FILENAME_UUID, uuid); return uuid; } -- cgit