mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Try to re-pack long ints as strs
Refs test failures in integration.states.file.FileTest.test_managed_contents
This commit is contained in:
parent
09602808a0
commit
a192ecfd74
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class Serial(object):
|
|||
'''
|
||||
try:
|
||||
return msgpack.dumps(msg)
|
||||
except OverflowError:
|
||||
except (OverflowError, msgpack.exceptions.PackValueError):
|
||||
# msgpack can't handle the very long Python longs for jids
|
||||
# Convert any very long longs to strings
|
||||
# We borrow the technique used by TypeError below
|
||||
|
|
Loading…
Add table
Reference in a new issue