comparison src/tmp/wokkel/rsm.py @ 1514:bad2e0e3fe70

tmp (wokkel): fixes changeset 91631837ce5c (rev 1510)
author souliane <souliane@mailoo.org>
date Thu, 10 Sep 2015 09:07:32 +0200
parents 91631837ce5c
children 30ba7cac1dd2
comparison
equal deleted inserted replaced
1513:955221487a3e 1514:bad2e0e3fe70
370 resource, request) 370 resource, request)
371 for item in result: 371 for item in result:
372 if isinstance(item, tuple): 372 if isinstance(item, tuple):
373 # XXX: see sat_pubsub.pgsql_storage.LeafNode.getItemsById return value 373 # XXX: see sat_pubsub.pgsql_storage.LeafNode.getItemsById return value
374 item = item[0] 374 item = item[0]
375 if item.name == set: 375 if item.name == "set":
376 response.addChild(item) 376 response.addChild(item)
377 break 377 break
378 378
379 return response 379 return response