From 9579f63d520b5b8ddfc718f81ed037968ab3838b Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Tue, 24 Jul 2007 20:05:52 +0000 Subject: Removed unused regex. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@559184 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/codec.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'python') 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") -- cgit v1.2.1