From 5113fdd829e956b6836c102c13b83fb8105a7453 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Tue, 16 Oct 2007 10:21:20 +0000 Subject: Implementation of 0-10 field tables git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@585097 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/codec.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'python/qpid') diff --git a/python/qpid/codec.py b/python/qpid/codec.py index c54d48df52..18928698a5 100644 --- a/python/qpid/codec.py +++ b/python/qpid/codec.py @@ -68,11 +68,10 @@ class Codec: dict: "table" } - if False: - for constant in self.spec.constants: - if constant.klass == "field-table-type": - type = constant.name.replace("field_table_", "") - self.typecode(constant.id, TYPE_ALIASES.get(type, type)) + for constant in self.spec.constants: + if constant.klass == "field-table-type": + type = constant.name.replace("field_table_", "") + self.typecode(constant.id, TYPE_ALIASES.get(type, type)) if not self.types: self.typecode(ord('S'), "longstr") -- cgit v1.2.1