diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2007-05-30 22:09:47 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2007-05-30 22:09:47 +0000 |
| commit | 0fc923acb5e8746c59e0d3132fa330bdf53d374f (patch) | |
| tree | b99c694bbdea27cf72de589f2ded8044a39cf93c | |
| parent | 82e573a682338cc4d1bb490f78943809794dcf0e (diff) | |
| download | qpid-python-0fc923acb5e8746c59e0d3132fa330bdf53d374f.tar.gz | |
example mods
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@542954 13f79535-47bb-0310-9956-ffa450edef68
| -rwxr-xr-x | python/server | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/server b/python/server index 4204bc8515..56f0f32081 100755 --- a/python/server +++ b/python/server @@ -1,5 +1,5 @@ #!/usr/bin/env python -from qpid import spec +import qpid from qpid.connection import Connection, listen from qpid.delegate import Delegate from qpid.peer import Peer @@ -18,7 +18,7 @@ class Server(Delegate): msg.ok() -spec = spec.load("../specs/amqp.0-9.xml") +spec = qpid.spec.load("../specs/amqp.0-9.xml") for io in listen("0.0.0.0", 5672): c = Connection(io, spec) |
