Fix PEP8 issue
parent
35bbee3023
commit
4403f326e9
|
@ -423,7 +423,8 @@ def parse_rule_definition(res):
|
||||||
instead = True if instead_data is not None else False
|
instead = True if instead_data is not None else False
|
||||||
|
|
||||||
# Parse data for condition
|
# Parse data for condition
|
||||||
condition_match = re.search(r"(?:WHERE)\s+([\s\S]*)\s+(?:DO)", data_def)
|
condition_match = re.search(r"(?:WHERE)\s+([\s\S]*)\s+(?:DO)",
|
||||||
|
data_def)
|
||||||
condition_data = condition_match.group(1) \
|
condition_data = condition_match.group(1) \
|
||||||
if condition_match is not None else None
|
if condition_match is not None else None
|
||||||
condition = condition_data if condition_data is not None else ''
|
condition = condition_data if condition_data is not None else ''
|
||||||
|
|
Loading…
Reference in New Issue