Mercurial > libervia-pubsub
changeset 17:0861c0f2e3b5
Fixed small oddity in disco code.
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Mon, 26 Jul 2004 11:40:52 +0000 |
parents | ce3d0db64da1 |
children | 7937d6fbbe2a |
files | idavoll/idavoll.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/idavoll/idavoll.py Sat Jul 17 22:08:28 2004 +0000 +++ b/idavoll/idavoll.py Mon Jul 26 11:40:52 2004 +0000 @@ -58,11 +58,11 @@ iq.swapAttributeValues("to", "from") iq["type"] = "result" for identity in identities: - iq.query.addElement("identity", None) - iq.query.identity.attributes = identity + i = iq.query.addElement("identity") + i.attributes = identity print features for feature in features: - f = iq.query.addElement("feature", None) + f = iq.query.addElement("feature") f["var"] = feature self.send(iq)