From 22a05639160bf7c0417d82af78e0ac4df3d43f15 Mon Sep 17 00:00:00 2001 From: Joe Williams Date: Mon, 10 Jul 2017 16:00:50 -0700 Subject: [PATCH] fix unsafe plan text interpolation --- octodns/provider/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/octodns/provider/base.py b/octodns/provider/base.py index 2fd4349..bcf566a 100644 --- a/octodns/provider/base.py +++ b/octodns/provider/base.py @@ -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'],