diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/qpid/codec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/qpid/codec.py b/python/qpid/codec.py index 6399ad2a5d..a3663773a9 100644 --- a/python/qpid/codec.py +++ b/python/qpid/codec.py @@ -434,7 +434,7 @@ class Codec: raise ValueError("invalid width: %s" % width) def encode_struct(self, type, s): - if False and type.size: + if type.size: enc = StringIO() codec = Codec(enc, self.spec) codec.encode_struct_body(type, s) @@ -446,7 +446,7 @@ class Codec: self.encode_struct_body(type, s) def decode_struct(self, type): - if False and type.size: + if type.size: size = self.dec_num(type.size) if size == 0: return None |