Commit a04315f0 authored by Tomas Krizek's avatar Tomas Krizek

pylint: fix R1710 inconsistent-return-statements

parent d4ecb480
...@@ -61,6 +61,7 @@ def get_qmin_config(path): ...@@ -61,6 +61,7 @@ def get_qmin_config(path):
return True return True
if re.search(r"^\s*query-minimization:\s*(off|no)", line): if re.search(r"^\s*query-minimization:\s*(off|no)", line):
return False return False
return None
def scenarios(paths, configs): def scenarios(paths, configs):
......
...@@ -581,6 +581,7 @@ class Step: ...@@ -581,6 +581,7 @@ class Step:
return self.__query(ctx, tcp=tcp, choice=choice, source=source) return self.__query(ctx, tcp=tcp, choice=choice, source=source)
elif self.type == 'CHECK_OUT_QUERY': # ignore elif self.type == 'CHECK_OUT_QUERY': # ignore
self.log.info('') self.log.info('')
return None
elif self.type == 'CHECK_ANSWER' or self.type == 'ANSWER': elif self.type == 'CHECK_ANSWER' or self.type == 'ANSWER':
self.log.info('') self.log.info('')
return self.__check_answer(ctx) return self.__check_answer(ctx)
...@@ -589,6 +590,7 @@ class Step: ...@@ -589,6 +590,7 @@ class Step:
return self.__time_passes() return self.__time_passes()
elif self.type == 'REPLY' or self.type == 'MOCK': elif self.type == 'REPLY' or self.type == 'MOCK':
self.log.info('') self.log.info('')
return None
# Parser currently doesn't support step types LOG, REPLAY and ASSERT. # Parser currently doesn't support step types LOG, REPLAY and ASSERT.
# No test uses them. # No test uses them.
# elif self.type == 'LOG': # elif self.type == 'LOG':
......
Markdown is supported
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