Browse Source

Use python3-friendly syntax

pull/475/head
Charles 6 years ago
parent
commit
e13d23dc80
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      octodns/provider/ovh.py

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

@ -264,7 +264,8 @@ class OvhProvider(BaseProvider):
def _params_for_CAA(record):
for value in record.values:
yield {
'target': '%d %s "%s"' % (value.flags, value.tag, value.value),
'target': '{} {} "{}"'.format(value.flags, value.tag,
value.value),
'subDomain': record.name,
'ttl': record.ttl,
'fieldType': record._type


Loading…
Cancel
Save