mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #25182 from cachedout/pack_long_floats
Try to re-pack long floats as strs
This commit is contained in:
commit
ddee90ce23
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