--- roundup/roundupdb.py~ 2004-07-19 02:23:42.000000000 +0200 +++ roundup/roundupdb.py 2005-02-03 13:17:23.000000000 +0200 @@ -447,9 +447,9 @@ # list the changes m = [] - l = changed.items() - l.sort() - for propname, oldvalue in l: + changed_items = changed.items() + changed_items.sort() + for propname, oldvalue in changed_items: prop = props[propname] value = cl.get(nodeid, propname, None) if isinstance(prop, hyperdb.Link):