From 7d7089607e3b1c3c523d588e928e009a9bc3e54c Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Wed, 26 Aug 2015 23:26:07 -0500 Subject: [PATCH] salt/utils/event.py: remove raw string formatting --- salt/utils/event.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/salt/utils/event.py b/salt/utils/event.py index 72e4e23795..6ba6a08cc1 100644 --- a/salt/utils/event.py +++ b/salt/utils/event.py @@ -513,7 +513,9 @@ class SaltEvent(object): raise ValueError('Empty tag.') if not isinstance(data, MutableMapping): # data must be dict - raise ValueError('Dict object expected, not "{0!r}".'.format(data)) + raise ValueError( + 'Dict object expected, not \'{0}\'.'.format(data) + ) if not self.cpush: self.connect_pull(timeout=timeout)