# HG changeset patch # User Ralph Meijer # Date 1090842052 0 # Node ID 0861c0f2e3b55d1dff30ded95acbd59c46f66910 # Parent ce3d0db64da1c6770499bec05a798bb20262a0ff Fixed small oddity in disco code. diff -r ce3d0db64da1 -r 0861c0f2e3b5 idavoll/idavoll.py --- 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)