mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
salt/utils/raetevent.py: remove raw string formatting
This commit is contained in:
parent
9b7e5027fe
commit
af1f659fc0
@ -211,7 +211,7 @@ class RAETEvent(object):
|
|||||||
raise ValueError('Empty tag.')
|
raise ValueError('Empty tag.')
|
||||||
|
|
||||||
if not isinstance(data, MutableMapping): # data must be dict
|
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'),
|
route = {'dst': (None, self.ryn, 'event_fire'),
|
||||||
'src': (None, self.stack.local.name, None)}
|
'src': (None, self.stack.local.name, None)}
|
||||||
msg = {'route': route, 'tag': tag, 'data': data}
|
msg = {'route': route, 'tag': tag, 'data': data}
|
||||||
|
Loading…
Reference in New Issue
Block a user