Skip to content
Snippets Groups Projects
Commit 91331a36 authored by Zineb Aly's avatar Zineb Aly
Browse files

adapted Aanet to pep8

parent 7349b36c
No related branches found
No related tags found
No related merge requests found
Pipeline #6945 passed with warnings
......@@ -45,7 +45,8 @@ class AanetReader:
branches are not read.
"""
if key not in self.keys() and not isinstance(key, int):
raise KeyError("'{}' is not a valid key or is a fake branch.".format(key))
raise KeyError(
"'{}' is not a valid key or is a fake branch.".format(key))
return self.lazy_data[key]
def __len__(self):
......
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