Mercurial > libervia-pubsub
diff idavoll/pubsub.py @ 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 | 46453af6b0c3 |
children | fee92e499d6d |
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"])