summaryrefslogtreecommitdiffstats
path: root/lib/plugins/Python.cpp
diff options
context:
space:
mode:
authorMichal Toman <mtoman@redhat.com>2010-10-19 10:57:16 +0200
committerMichal Toman <mtoman@redhat.com>2010-10-19 10:57:16 +0200
commit8ccb8e59a6f295481b1d0b664701bb421b041e28 (patch)
treeb05ba340714831c049dc830c5d6db0b9f313d46f /lib/plugins/Python.cpp
parent2ba325a217d4d08fb867d1197a89c53f49ab85d5 (diff)
parent41473dbc4a685a4e33debaf2a9103da8bcd6429f (diff)
downloadabrt-8ccb8e59a6f295481b1d0b664701bb421b041e28.tar.gz
abrt-8ccb8e59a6f295481b1d0b664701bb421b041e28.tar.xz
abrt-8ccb8e59a6f295481b1d0b664701bb421b041e28.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
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 5e4cc02a..ea3e1ade 100644
--- a/lib/plugins/Python.cpp
+++ b/lib/plugins/Python.cpp
@@ -19,14 +19,13 @@
#include "abrtlib.h"
#include "Python.h"
#include "abrt_exception.h"
-#include "Python_hash.h"
using namespace std;
string CAnalyzerPython::GetLocalUUID(const char *pDebugDumpDir)
{
- struct dump_dir *dd = dd_init();
- if (!dd_opendir(dd, pDebugDumpDir, DD_CLOSE_ON_OPEN_ERR))
+ struct dump_dir *dd = dd_opendir(pDebugDumpDir, /*flags:*/ 0);
+ if (!dd)
return string("");
char *bt = dd_load_text(dd, FILENAME_BACKTRACE);