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

This commit is contained in:
Erik Johnson 2015-08-26 23:26:07 -05:00
parent 9b7e5027fe
commit af1f659fc0

View File

@ -211,7 +211,7 @@ class RAETEvent(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))
route = {'dst': (None, self.ryn, 'event_fire'),
'src': (None, self.stack.local.name, None)}
msg = {'route': route, 'tag': tag, 'data': data}