summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-09-30 16:05:23 +0000
committerRafael H. Schloming <rhs@apache.org>2009-09-30 16:05:23 +0000
commit80bafb92ff4c9c1ccecc91b0b01513e5702ba1c6 (patch)
tree4447075c0d992ed32acf248d814d0cc04599323d /qpid/python
parent0c9adf3cdbb3e6217b5dd2c4175da282cecc4056 (diff)
downloadqpid-python-80bafb92ff4c9c1ccecc91b0b01513e5702ba1c6.tar.gz
reenabled spec file caching
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820329 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/ops.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/python/qpid/ops.py b/qpid/python/qpid/ops.py
index 11e7d11fe9..422a104466 100644
--- a/qpid/python/qpid/ops.py
+++ b/qpid/python/qpid/ops.py
@@ -209,8 +209,8 @@ def make(nd):
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()