mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix PEP8 issue
This commit is contained in:
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
Block a user