diff options
author | Peter Harris <pharris@opentext.com> | 2010-09-22 23:15:38 -0400 |
---|---|---|
committer | Peter Harris <pharris@opentext.com> | 2010-09-22 23:16:33 -0400 |
commit | b672d1514c88e119f3aaeded8c8a488cad36db52 (patch) | |
tree | 72fc3110fc0e768c4f698b25c9ae8e25ad8ee02f | |
parent | 29cca33b9001961fa2c33bb9d9fe4a9983913fce (diff) |
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>
-rw-r--r-- | src/c_client.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/c_client.py b/src/c_client.py index 1f3277a..91719b7 100644 --- a/src/c_client.py +++ b/src/c_client.py @@ -925,8 +925,9 @@ def _c_serialize_helper_fields(context, self, prev_field_was_variable = False for field in self.fields: - if not ((field.wire and not field.auto) or field.visible): - continue + if not field.visible: + if not ((field.wire and not field.auto) or 'unserialize' == context): + continue # switch/bitcase: fixed size fields must be considered explicitly if field.type.fixed_size(): |