Mercurial > libervia-pubsub
changeset 141:d2c18d88f618
Don't break on non-element childs.
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Tue, 14 Jun 2005 12:12:23 +0000 |
parents | d79f0816f6c3 |
children | 812300cdbc22 |
files | idavoll/pubsub.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/idavoll/pubsub.py Wed Apr 27 20:22:51 2005 +0000 +++ b/idavoll/pubsub.py Tue Jun 14 12:12:23 2005 +0000 @@ -493,7 +493,7 @@ raise BadRequest item_ids = [] - for child in iq.pubsub.items.children: + for child in iq.pubsub.items.elements(): if child.name == 'item' and child.uri == NS_PUBSUB: try: item_ids.append(child["id"])