Skip to content

Commit

Permalink
conform to flake8 code style
Browse files Browse the repository at this point in the history
  • Loading branch information
vvolkl committed Mar 24, 2020
1 parent 1424f59 commit e874e8d
Show file tree
Hide file tree
Showing 6 changed files with 1,120 additions and 1,092 deletions.
6 changes: 3 additions & 3 deletions python/EventStore.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, filenames, treename=None):
files matching a wildcard pattern.
treename: not used at the moment
'''
if isinstance(filenames,str):
if isinstance(filenames, str):
filenames = (filenames,)
self.files = filenames
self.stores = []
Expand All @@ -58,7 +58,7 @@ def __init__(self, filenames, treename=None):
def __str__(self):
result = "Content:"
for item in self.current_store.getCollectionNames():
result += "\n\t%s" %item
result += "\n\t%s" % item
return result

def get(self, name):
Expand Down Expand Up @@ -91,7 +91,7 @@ def current_filename(self):
return None
else:
return self.current_store.fname

def __enter__(self):
return self

Expand Down
Loading

0 comments on commit e874e8d

Please sign in to comment.