mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Use comprehension for clarity and best practice
Co-Authored-By: Ross McFarland <ross@github.com>
This commit is contained in:
@@ -323,7 +323,7 @@ class OvhProvider(BaseProvider):
|
||||
'n': lambda _: True,
|
||||
'g': lambda _: True}
|
||||
|
||||
splitted = list(filter(None, value.split('\\;')))
|
||||
splitted = [v for v in value.split('\\;') if v]
|
||||
found_key = False
|
||||
for splitted_value in splitted:
|
||||
sub_split = [x.strip() for x in splitted_value.split("=", 1)]
|
||||
|
Reference in New Issue
Block a user