mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Correct formatting for lint
This commit is contained in:
parent
e8678f633d
commit
a07bb48726
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ def rr_present(name, HostedZoneId=None, DomainName=None, PrivateZone=False, Name
|
|||
# this appears to be incredibly difficult with the jinja templating engine
|
||||
# so inject the quotations here to make a viable ChangeBatch
|
||||
if Type == 'TXT':
|
||||
rr = '"%s"' % (rr)
|
||||
rr = '"{}"'.format(rr)
|
||||
fixed_rrs += [rr]
|
||||
ResourceRecords = [{'Value': rr} for rr in sorted(fixed_rrs)]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue