You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2007/05/31 00:09:48 UTC
svn commit: r542954 - /incubator/qpid/trunk/qpid/python/server
Author: rhs
Date: Wed May 30 15:09:47 2007
New Revision: 542954
URL: http://svn.apache.org/viewvc?view=rev&rev=542954
Log:
example mods
Modified:
incubator/qpid/trunk/qpid/python/server
Modified: incubator/qpid/trunk/qpid/python/server
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/python/server?view=diff&rev=542954&r1=542953&r2=542954
==============================================================================
--- incubator/qpid/trunk/qpid/python/server (original)
+++ incubator/qpid/trunk/qpid/python/server Wed May 30 15:09:47 2007
@@ -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 @@
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)