Browse Source

Use comprehension for clarity and best practice

Co-Authored-By: Ross McFarland <ross@github.com>
pull/442/head
Kaari 6 years ago
committed by GitHub
parent
commit
4b625eba64
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      octodns/provider/ovh.py

+ 1
- 1
octodns/provider/ovh.py View File

@ -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)]


Loading…
Cancel
Save