Mercurial > libervia-pubsub
comparison sat_pubsub/backend.py @ 279:7c820a8e4b00
fix RSM support regarding last tmp.wokkel changes
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 09 Jan 2015 10:56:38 +0100 |
parents | 8a71486c3e95 |
children | 002c59dbc23f |
comparison
equal
deleted
inserted
replaced
278:8a71486c3e95 | 279:7c820a8e4b00 |
---|---|
640 response.last = items[len(items) - 1]['id'] | 640 response.last = items[len(items) - 1]['id'] |
641 if request.before is not None: | 641 if request.before is not None: |
642 response.first, response.last = response.last, response.first | 642 response.first, response.last = response.last, response.first |
643 else: | 643 else: |
644 response.index = None | 644 response.index = None |
645 elts.append(response.render()) | 645 elts.append(response.toElement()) |
646 return elts | 646 return elts |
647 | 647 |
648 return defer.DeferredList(d_list).addCallback(render) | 648 return defer.DeferredList(d_list).addCallback(render) |
649 | 649 |
650 def retractItem(self, nodeIdentifier, itemIdentifiers, requestor): | 650 def retractItem(self, nodeIdentifier, itemIdentifiers, requestor): |