Mercurial > libervia-pubsub
diff idavoll/tap.py @ 169:96afb248df5e
Fix typos in service creation. Make disco not respond when a resource is provided.
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Thu, 04 Oct 2007 08:03:51 +0000 |
parents | ef22e4150caa |
children | 958e69630e52 |
line wrap: on
line diff
--- a/idavoll/tap.py Wed Oct 03 19:07:50 2007 +0000 +++ b/idavoll/tap.py Thu Oct 04 08:03:51 2007 +0000 @@ -47,9 +47,9 @@ if config["verbose"]: cs.logTraffic = True - FallbackHandler().setHanderParent(cs) - VersionHandler('Idavoll', __version__).setHanderParent(cs) - DiscoHandler().setHanderParent(cs) + FallbackHandler().setHandlerParent(cs) + VersionHandler('Idavoll', __version__).setHandlerParent(cs) + DiscoHandler().setHandlerParent(cs) if config['backend'] == 'pgsql': from idavoll.pgsql_storage import Storage @@ -64,7 +64,7 @@ bs.setServiceParent(s) ps = IPubSubService(bs) - ps.setHanderParent(cs) + ps.setHandlerParent(cs) ps.hideNodes = config["hide-nodes"] ps.serviceJID = JID(config["jid"])