summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Python.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Plugins/Python.cpp')
-rw-r--r--lib/Plugins/Python.cpp16
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,