mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use correct utils path for 2017.7
This commit is contained in:
parent
a38f4cb6d6
commit
108d8cbeef
1 changed files with 3 additions and 3 deletions
|
@ -727,10 +727,10 @@ class SaltEvent(object):
|
|||
)
|
||||
log.debug('Sending event: tag = %s; data = %s', tag, data)
|
||||
event = b''.join([
|
||||
salt.utils.stringutils.to_bytes(tag),
|
||||
salt.utils.stringutils.to_bytes(tagend),
|
||||
salt.utils.to_bytes(tag),
|
||||
salt.utils.to_bytes(tagend),
|
||||
serialized_data])
|
||||
msg = salt.utils.stringutils.to_bytes(event, 'utf-8')
|
||||
msg = salt.utils.to_bytes(event, 'utf-8')
|
||||
if self._run_io_loop_sync:
|
||||
with salt.utils.async.current_ioloop(self.io_loop):
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue