Author: rhs
Date: Tue Jul 24 13:05:52 2007
New Revision: 559184

URL: http://svn.apache.org/viewvc?view=rev&rev=559184
Log:
Removed unused regex.

Modified:
    incubator/qpid/trunk/qpid/python/qpid/codec.py

Modified: incubator/qpid/trunk/qpid/python/qpid/codec.py
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/python/qpid/codec.py?view=diff&rev=559184&r1=559183&r2=559184
==============================================================================
--- incubator/qpid/trunk/qpid/python/qpid/codec.py (original)
+++ incubator/qpid/trunk/qpid/python/qpid/codec.py Tue Jul 24 13:05:52 2007
@@ -248,8 +248,6 @@
     """
     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 @@
       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")


Reply via email to