salt/utils/event.py: remove raw string formatting

This commit is contained in:
Erik Johnson 2015-08-26 23:26:07 -05:00
parent ce396d4f0c
commit 7d7089607e

View File

@ -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)