Skip to content
Snippets Groups Projects
Commit 73ebd0b3 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Python 3.5 compliance

parent 8ac8a6bf
No related branches found
No related tags found
No related merge requests found
Pipeline #6885 passed with warnings
......@@ -70,7 +70,7 @@ class AanetReader:
hits_key_lazy = self.lazy_data[key]
return hits_key_lazy
else:
raise KeyError(f"{key} is not a valid hits key")
raise KeyError("{} is not a valid hits key".format(key))
def read_tracks(self, key: str):
"""tracks_reader function reads data stored in a branch of interest in tracks tree
......@@ -101,7 +101,7 @@ class AanetReader:
tracks_key_lazy = self.lazy_data[key]
return tracks_key_lazy
else:
raise KeyError(f"{key} is not a valid tracks key")
raise KeyError("{} is not a valid tracks key".format(key))
@property
def valid_keys(self, evt_tree):
......
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