plugin pubsub: fixed a bug introducted in revision 318eab3f93f8: getDiscoItems handler method which is called on disco items request, was calling getDiscoItems from host, which do a request itself, resulting in an infinite items request loop.

This commit is contained in:
Goffi 2014-11-21 16:35:40 +01:00
commit ce8e1dcfc1

View file

@ -350,7 +350,7 @@ class SatPubSubClient(pubsub.PubSubClient):
return disco_info
def getDiscoItems(self, requestor, service, nodeIdentifier=''):
return self.host.getDiscoItems(service, nodeIdentifier, self.parent.profile)
return []
class PubSubRequest(pubsub.PubSubRequest):