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:
parent
0da2c0228f
commit
ce8e1dcfc1
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ class SatPubSubClient(pubsub.PubSubClient):
|
||||||
return disco_info
|
return disco_info
|
||||||
|
|
||||||
def getDiscoItems(self, requestor, service, nodeIdentifier=''):
|
def getDiscoItems(self, requestor, service, nodeIdentifier=''):
|
||||||
return self.host.getDiscoItems(service, nodeIdentifier, self.parent.profile)
|
return []
|
||||||
|
|
||||||
|
|
||||||
class PubSubRequest(pubsub.PubSubRequest):
|
class PubSubRequest(pubsub.PubSubRequest):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue