Fix _unserialize of reply headers
This cleans up a number of warnings, and passes the sequence number through correctly. Signed-off-by: Peter Harris <pharris@opentext.com>
This commit is contained in:
parent
29cca33b90
commit
b672d1514c
|
@ -925,7 +925,8 @@ def _c_serialize_helper_fields(context, self,
|
||||||
prev_field_was_variable = False
|
prev_field_was_variable = False
|
||||||
|
|
||||||
for field in self.fields:
|
for field in self.fields:
|
||||||
if not ((field.wire and not field.auto) or field.visible):
|
if not field.visible:
|
||||||
|
if not ((field.wire and not field.auto) or 'unserialize' == context):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# switch/bitcase: fixed size fields must be considered explicitly
|
# switch/bitcase: fixed size fields must be considered explicitly
|
||||||
|
|
Loading…
Reference in New Issue