summaryrefslogtreecommitdiff
path: root/python/qpid
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
commit7c5254d13e40c3ca84c382b9b0fa58c6a2dfeaf7 (patch)
treef6540571695616f59232bbc804cf4593ca5514c9 /python/qpid
parent2e40e19674a122a7072aeaee618fc0d9a3b798e9 (diff)
downloadqpid-python-7c5254d13e40c3ca84c382b9b0fa58c6a2dfeaf7.tar.gz
reenabled spec file caching
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820329 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid')
-rw-r--r--python/qpid/ops.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/qpid/ops.py b/python/qpid/ops.py
index 11e7d11fe9..422a104466 100644
--- a/python/qpid/ops.py
+++ b/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()