diff options
author | Karel Klic <kklic@redhat.com> | 2009-12-14 10:41:51 +0100 |
---|---|---|
committer | Karel Klic <kklic@redhat.com> | 2009-12-14 10:41:51 +0100 |
commit | a24d2906c51e3740e6e0acf8f0093827b4e35bc3 (patch) | |
tree | 1022bf70766a88d45dc71d6ea413ccd0fa14d07c /lib/Plugins/Python.cpp | |
parent | b7ea0e53e3375de6298b2f510302f75ebef4be4e (diff) | |
parent | 42f0375d09931903965b36c87f17f805def956bf (diff) | |
download | abrt-a24d2906c51e3740e6e0acf8f0093827b4e35bc3.tar.gz abrt-a24d2906c51e3740e6e0acf8f0093827b4e35bc3.tar.xz abrt-a24d2906c51e3740e6e0acf8f0093827b4e35bc3.zip |
Merge branch 'master' of git://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Plugins/Python.cpp')
-rw-r--r-- | lib/Plugins/Python.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/Plugins/Python.cpp b/lib/Plugins/Python.cpp index a5e9909..906e815 100644 --- a/lib/Plugins/Python.cpp +++ b/lib/Plugins/Python.cpp @@ -4,7 +4,6 @@ #include "ABRTException.h" #define FILENAME_BACKTRACE "backtrace" -#define PYHOOK_CONFIG "/etc/abrt/pyhook.conf" static std::string CreateHash(const char *pDebugDumpDir) { @@ -26,25 +25,10 @@ std::string CAnalyzerPython::GetGlobalUUID(const char *pDebugDumpDir) void CAnalyzerPython::Init() { - std::ofstream fOutPySiteCustomize; - fOutPySiteCustomize.open(PYHOOK_CONFIG); - if (fOutPySiteCustomize.is_open()) - { - fOutPySiteCustomize << "enabled = yes" << std::endl; - fOutPySiteCustomize.close(); - } } void CAnalyzerPython::DeInit() { - // TODO: remove copied abrt exception handler - std::ofstream fOutPySiteCustomize; - fOutPySiteCustomize.open(PYHOOK_CONFIG); - if (fOutPySiteCustomize.is_open()) - { - fOutPySiteCustomize << "enabled = no" << std::endl; - fOutPySiteCustomize.close(); - } } PLUGIN_INFO(ANALYZER, |