diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-06-30 18:37:49 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-06-30 18:37:49 +0200 |
commit | bff657e4dba9162d9132649e4172f1d17e12c4a7 (patch) | |
tree | 37025b61a3837ccb1264efde49d055077ec19264 /lib/Plugins/Python.cpp | |
parent | ce8711c03a095694efc9273789b92347ad633e57 (diff) | |
download | abrt-bff657e4dba9162d9132649e4172f1d17e12c4a7.tar.gz abrt-bff657e4dba9162d9132649e4172f1d17e12c4a7.tar.xz abrt-bff657e4dba9162d9132649e4172f1d17e12c4a7.zip |
add rating to python crashes
Diffstat (limited to 'lib/Plugins/Python.cpp')
-rw-r--r-- | lib/Plugins/Python.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Plugins/Python.cpp b/lib/Plugins/Python.cpp index 12cc47ef..fc3e41c5 100644 --- a/lib/Plugins/Python.cpp +++ b/lib/Plugins/Python.cpp @@ -82,6 +82,14 @@ string CAnalyzerPython::GetGlobalUUID(const char *pDebugDumpDir) return GetLocalUUID(pDebugDumpDir); } +void CAnalyzerPython::CreateReport(const char *pDebugDumpDir, int force) +{ + CDebugDump dd; + dd.Open(pDebugDumpDir); + dd.SaveText(FILENAME_RATING, "4"); + dd.Close(); +} + void CAnalyzerPython::Init() { } |