Skip to content
Snippets Groups Projects
Commit 4ebb5d84 authored by Florian Obersteiner's avatar Florian Obersteiner
Browse files

try/except:pass removed

parent e1f25ffc
No related branches found
No related tags found
1 merge request!6code refactor
......@@ -853,12 +853,9 @@ class Dataset:
)
def __del__(self):
# TODO: refactor following try/except statement
try:
if self.inputFhandle:
if not self.inputFhandle.closed:
self.inputFhandle.close()
except:
pass
def __repr__(self):
# TODO: this could be more meaningful
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment