Skip to content
Snippets Groups Projects
Commit 8b5dc634 authored by Andi Gerken's avatar Andi Gerken
Browse files

Minifix is -> ==

parent fa6de1cf
No related branches found
No related tags found
No related merge requests found
Pipeline #35789 passed
...@@ -130,7 +130,7 @@ class File(h5py.File): ...@@ -130,7 +130,7 @@ class File(h5py.File):
def __exit__(self, type, value, traceback): def __exit__(self, type, value, traceback):
# Check if the context was left under normal circumstances # Check if the context was left under normal circumstances
if (type, value, traceback) is (None, None, None): if (type, value, traceback) == (None, None, None):
self.validate() self.validate()
self.close() self.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment