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

fix unsafe plan text interpolation

This commit is contained in:
Joe Williams
2017-07-10 16:00:50 -07:00
parent d77a663fee
commit 22a0563916

View File

@@ -56,8 +56,8 @@ class Plan(object):
delete_pcent = self.change_counts['Delete'] / existing_record_count
if update_pcent > self.MAX_SAFE_UPDATE_PCENT:
raise UnsafePlan('Too many updates, %s is over %s percent'
'(%s/%s)',
raise UnsafePlan('Too many updates, {} is over {} percent'
'({}/{})'.format,
update_pcent,
self.MAX_SAFE_UPDATE_PCENT * 100,
self.change_counts['Update'],