summaryrefslogtreecommitdiff
path: root/python/qpid/codec.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid/codec.py')
-rw-r--r--python/qpid/codec.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/python/qpid/codec.py b/python/qpid/codec.py
index 02b924b6b8..a5228e8003 100644
--- a/python/qpid/codec.py
+++ b/python/qpid/codec.py
@@ -248,8 +248,6 @@ class Codec:
"""
return self.dec_str("!L")
- KEY_CHECK = re.compile(r"[\$#A-Za-z][\$#A-Za-z0-9_]*")
-
def encode_table(self, tbl):
"""
encodes a table data structure in network byte order
@@ -260,7 +258,6 @@ class Codec:
for key, value in tbl.items():
if len(key) > 128:
raise ValueError("field table key too long: '%s'" % key)
-
codec.encode_shortstr(key)
if isinstance(value, basestring):
codec.write("S")