diff options
author | Rafael H. Schloming <rhs@apache.org> | 2007-07-24 20:05:52 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2007-07-24 20:05:52 +0000 |
commit | 9579f63d520b5b8ddfc718f81ed037968ab3838b (patch) | |
tree | bf62f12985a63c8e5681f8bb0e49c3cfaa37686b /python/qpid/codec.py | |
parent | b7c528b027bff7585481c9ce3a01144040c6de5a (diff) | |
download | qpid-python-9579f63d520b5b8ddfc718f81ed037968ab3838b.tar.gz |
Removed unused regex.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@559184 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/codec.py')
-rw-r--r-- | python/qpid/codec.py | 3 |
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") |