From 051f8ef9f6481159b6ab4e1329efd43b9f6786e3 Mon Sep 17 00:00:00 2001 From: Harry Rybacki Date: Sun, 8 Sep 2019 11:45:43 -0400 Subject: [PATCH] Fix IPAConnectionError string formatting Exception message had incorrect string format that would result in a TypeError being raise if/when this exception was caught. Change-Id: I676631d79394e512371a8367f84b91761e983faa --- novajoin/exception.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/novajoin/exception.py b/novajoin/exception.py index e363e2a..7c003a1 100644 --- a/novajoin/exception.py +++ b/novajoin/exception.py @@ -156,4 +156,4 @@ class NotificationVersionMismatch(JoinException): class IPAConnectionError(JoinException): - message = "Unable to connect to IPA after %(tries) tries" + message = "Unable to connect to IPA after %(tries)s tries"