1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

pep8 cleanup

This commit is contained in:
Steve Coursen
2017-11-13 13:57:43 -05:00
parent 0dfcc6f6f2
commit 0cc20afabd

View File

@@ -168,11 +168,15 @@ class Ns1Provider(BaseProvider):
if record.geo:
# purposefully set non-geo answers to have an empty meta,
# so that we know we did this on purpose if/when troubleshooting
params['answers'] = [{"answer": x, "meta":{}} for x in record.values]
params['answers'] = [{"answer": x, "meta": {}} \
for x in record.values]
for iso_region, target in record.geo.items():
params['answers'].append({'answer': target.values,
'meta': {'iso_region_code': [iso_region]},
})
params['answers'].append(
{
'answer': target.values,
'meta': {'iso_region_code': [iso_region]},
},
)
return params
_params_for_AAAA = _params_for_A