Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mutalyzer
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
mutalyzer
Commits
7744af72
Commit
7744af72
authored
11 years ago
by
Vermaat
Browse files
Options
Downloads
Patches
Plain Diff
Remove buggy __del__ method from output.Output
parent
12201380
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mutalyzer/output.py
+0
-20
0 additions, 20 deletions
mutalyzer/output.py
with
0 additions
and
20 deletions
mutalyzer/output.py
+
0
−
20
View file @
7744af72
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment