You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2009/09/30 18:05:24 UTC

svn commit: r820329 - /qpid/trunk/qpid/python/qpid/ops.py

Author: rhs
Date: Wed Sep 30 16:05:23 2009
New Revision: 820329

URL: http://svn.apache.org/viewvc?rev=820329&view=rev
Log:
reenabled spec file caching

Modified:
    qpid/trunk/qpid/python/qpid/ops.py

Modified: qpid/trunk/qpid/python/qpid/ops.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/ops.py?rev=820329&r1=820328&r2=820329&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid/ops.py (original)
+++ qpid/trunk/qpid/python/qpid/ops.py Wed Sep 30 16:05:23 2009
@@ -209,8 +209,8 @@
 from qpid_config import amqp_spec as file
 pclfile = "%s.ops.pcl" % file
 
-if False and (os.path.exists(pclfile) and
-              os.path.getmtime(pclfile) > os.path.getmtime(file)):
+if os.path.exists(pclfile) and \
+      os.path.getmtime(pclfile) > os.path.getmtime(file):
   f = open(pclfile, "read")
   types = pickle.load(f)
   f.close()



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org