Mercurial > libervia-backend
comparison src/tmp/wokkel/rsm.py @ 1780:4beb613d277c
tmp (wokkel.rsm): fixed forgotten method renaming
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 07 Jan 2016 22:48:49 +0100 |
parents | 6e867caf4621 |
children | 0158ab00afea |
comparison
equal
deleted
inserted
replaced
1779:1fa50da8bfbe | 1780:4beb613d277c |
---|---|
388 pubsub_elt = iq.pubsub | 388 pubsub_elt = iq.pubsub |
389 for element in pubsub_elt.items.elements(pubsub.NS_PUBSUB, 'item'): | 389 for element in pubsub_elt.items.elements(pubsub.NS_PUBSUB, 'item'): |
390 items.append(element) | 390 items.append(element) |
391 | 391 |
392 try: | 392 try: |
393 rsm_response = RSMResponse.parse(pubsub_elt) | 393 rsm_response = RSMResponse.fromElement(pubsub_elt) |
394 except RSMNotFoundError: | 394 except RSMNotFoundError: |
395 rsm_response = None | 395 rsm_response = None |
396 return (items, rsm_response) | 396 return (items, rsm_response) |
397 | 397 |
398 d = request.send(self.xmlstream) | 398 d = request.send(self.xmlstream) |