From 7744af72a20fdff3fc21e3b0b7d1b51dec2a33d2 Mon Sep 17 00:00:00 2001
From: Martijn Vermaat <martijn@vermaat.name>
Date: Thu, 5 Dec 2013 15:52:50 +0100
Subject: [PATCH] Remove buggy __del__ method from output.Output

---
 mutalyzer/output.py | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/mutalyzer/output.py b/mutalyzer/output.py
index 5411f81d..97c96ea0 100644
--- a/mutalyzer/output.py
+++ b/mutalyzer/output.py
@@ -45,7 +45,6 @@ class Output() :
     Special methods:
         - __init__(instance) ; Initialise the class with the calling
                                module.
-        - __del__()          ; Close the logfile and clean up.
 
     Public methods:
         - addMessage(filename, level, code, description) ; Add a message to
@@ -83,25 +82,6 @@ class Output() :
         self._warnings = 0
     #__init__
 
-    def __del__(self) :
-        """
-        Clean up the output dictionary, the messages list and close the log
-        file.
-
-        Private variables(altered):
-            - _loghandle  ; The handle of the log file defined in the
-                             configuration file.
-            - _outputdata ; The output dictionary.
-            - _messages   ; The messages list.
-        """
-
-        self._loghandle.close()
-        for i in self._outputData :
-            del i
-        for i in self._messages :
-            del i
-    #__del__
-
     def addMessage(self, filename, level, code, description) :
         """
         Add a message to the message list.
-- 
GitLab