summaryrefslogtreecommitdiff
path: root/python/qpid/spec.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-01-08 17:10:20 +0000
committerRafael H. Schloming <rhs@apache.org>2009-01-08 17:10:20 +0000
commit27293b8e3624cb13fa346016b65f0b8a71b0279a (patch)
tree36d99e9e1f39715e0669834520ce638e3904b937 /python/qpid/spec.py
parentfc6840f32b54a81241fa91b0c0248ce395609ba6 (diff)
downloadqpid-python-27293b8e3624cb13fa346016b65f0b8a71b0279a.tar.gz
made codegen happen on module import rather than on object instantiation, this makes things like help(Session) much more useful
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732760 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/spec.py')
-rw-r--r--python/qpid/spec.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/qpid/spec.py b/python/qpid/spec.py
index e6d914044c..cd76c70c5c 100644
--- a/python/qpid/spec.py
+++ b/python/qpid/spec.py
@@ -57,3 +57,5 @@ def load(specfile, *errata):
return spec010.load(specfile, *errata)
else:
return spec08.load(specfile, *errata)
+
+SPEC = load(default())