Mercurial > sat_tmp
comparison wokkel/rsm.py @ 25:4816f7d55367
tmp (wokkel.rsm): fixed forgotten method renaming
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 07 Jan 2016 22:48:49 +0100 |
parents | 777b4e63fc8a |
children | e5dfb97424d5 |
comparison
equal
deleted
inserted
replaced
24:0640d72d6841 | 25:4816f7d55367 |
---|---|
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) |