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 | 9b3a523d044be6ae5e88a96a4513b05a48d4feb6 (patch) | |
| tree | 033f5987b691206023a5068300b3a1a5f8766c0e /qpid/python | |
| parent | c2efe8deabde635f07e78d438fc529ca67d34133 (diff) | |
| download | qpid-python-9b3a523d044be6ae5e88a96a4513b05a48d4feb6.tar.gz | |
Removed unused regex.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@559184 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
| -rw-r--r-- | qpid/python/qpid/codec.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/qpid/python/qpid/codec.py b/qpid/python/qpid/codec.py index 02b924b6b8..a5228e8003 100644 --- a/qpid/python/qpid/codec.py +++ b/qpid/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") |
