diff options
Diffstat (limited to 'python/qpid/client.py')
-rw-r--r-- | python/qpid/client.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/python/qpid/client.py b/python/qpid/client.py index 4605710de8..6107a4bc35 100644 --- a/python/qpid/client.py +++ b/python/qpid/client.py @@ -39,11 +39,8 @@ class Client: if spec: self.spec = spec else: - try: - name = os.environ["AMQP_SPEC"] - except KeyError: - raise EnvironmentError("environment variable AMQP_SPEC must be set") - self.spec = load(name) + from qpid_config import amqp_spec_0_9 + self.spec = load(amqp_spec_0_9) self.structs = StructFactory(self.spec) self.sessions = {} |