Mercurial > libervia-pubsub
comparison src/mam.py @ 399:2521c53bc359
mam: typo
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 06 May 2019 09:37:47 +0200 |
parents | 845ed0f71dd6 |
children | 907b10480394 |
comparison
equal
deleted
inserted
replaced
398:845ed0f71dd6 | 399:2521c53bc359 |
---|---|
118 if page_max >= count: | 118 if page_max >= count: |
119 # the maximum items which can be displayed is equal to or | 119 # the maximum items which can be displayed is equal to or |
120 # above the total number of items, which means we are complete | 120 # above the total number of items, which means we are complete |
121 attributes['complete'] = "true" | 121 attributes['complete'] = "true" |
122 else: | 122 else: |
123 log.warnign(u"no <first> element in RSM request: {xml}".format( | 123 log.warning(u"no <first> element in RSM request: {xml}".format( |
124 xml = rsm_elt.toXml())) | 124 xml = rsm_elt.toXml())) |
125 elif item_data.item.name == 'item': | 125 elif item_data.item.name == 'item': |
126 msg_data.append([item_data.item['id'], make_message(item_data.item), | 126 msg_data.append([item_data.item['id'], make_message(item_data.item), |
127 item_data.created]) | 127 item_data.created]) |
128 else: | 128 else: |