mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Fix underscore wart (and linter)
This commit is contained in:
parent
74b8f5f8aa
commit
a814fc071d
@ -147,12 +147,11 @@ class Serial(object):
|
||||
# Due to this, if we don't need it, don't pass it at all so
|
||||
# that under Python 2 we can still work with older versions
|
||||
# of msgpack.
|
||||
if msgpack_version >= (0, 5, 2):
|
||||
if msgpack.version >= (0, 5, 2):
|
||||
if encoding is None:
|
||||
loads_kwargs['raw'] = True
|
||||
else:
|
||||
loads_kwargs['raw'] = False
|
||||
loads_kwargs['raw'] = False
|
||||
else:
|
||||
loads_kwargs['encoding'] = encoding
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user