From 2b58e065e8569e336aaec2cd3f759f03ed69867a Mon Sep 17 00:00:00 2001 From: Joe Williams Date: Tue, 11 Jul 2017 07:09:20 -0700 Subject: [PATCH] fix format --- octodns/provider/base.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/octodns/provider/base.py b/octodns/provider/base.py index bcf566a..8c97edb 100644 --- a/octodns/provider/base.py +++ b/octodns/provider/base.py @@ -57,18 +57,18 @@ class Plan(object): if update_pcent > self.MAX_SAFE_UPDATE_PCENT: raise UnsafePlan('Too many updates, {} is over {} percent' - '({}/{})'.format, + '({}/{})'.format( update_pcent, self.MAX_SAFE_UPDATE_PCENT * 100, self.change_counts['Update'], - existing_record_count) + existing_record_count)) if delete_pcent > self.MAX_SAFE_DELETE_PCENT: - raise UnsafePlan('Too many deletes, %s is over %s percent' - '(%s/%s)', + raise UnsafePlan('Too many deletes, {} is over {} percent' + '({}/{})'.format( delete_pcent, self.MAX_SAFE_DELETE_PCENT * 100, self.change_counts['Delete'], - existing_record_count) + existing_record_count)) def __repr__(self): return 'Creates={}, Updates={}, Deletes={}, Existing Records={}' \