Commit ef6e152b authored by Matt Traudt's avatar Matt Traudt
Browse files

Fix two linter warnings

parent c47238dd
...@@ -75,7 +75,7 @@ def read_started_ts(conf): ...@@ -75,7 +75,7 @@ def read_started_ts(conf):
""" """
try: try:
filepath = conf['paths']['started_filepath'] filepath = conf['paths']['started_filepath']
except TypeError as e: except TypeError:
return '' return ''
try: try:
with FileLock(filepath): with FileLock(filepath):
...@@ -184,7 +184,7 @@ class V3BwHeader(object): ...@@ -184,7 +184,7 @@ class V3BwHeader(object):
assert isinstance(lines, list) assert isinstance(lines, list)
try: try:
index_terminator = lines.index(TERMINATOR) index_terminator = lines.index(TERMINATOR)
except ValueError as e: except ValueError:
# is not a bw file or is v100 # is not a bw file or is v100
log.warn('Terminator is not in lines') log.warn('Terminator is not in lines')
return None return None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment