Roundup Tracker - Issues

Message3474

Author bruynooghef
Recipients
Date 2007-04-05.10:40:08
Message-id
In-reply-to
Hi

It would be nice if it was possible to assign sets to multilink properties as well as lists.  e.g.:

>>> ppl = set(db.issue.get(nodeid, 'nosy'))
>>> ppl.add(db.user.lookup('someone'))
>>> db.issue.set(nodeid, nosy=ppl)
instead of:
>>> db.issue.set(nodeid, nosy=list(ppl))

It may even make sense to return sets with the get() call?

Cheers
Floris
History
Date User Action Args
2009-02-03 14:24:08adminlinkissue1694893 messages
2009-02-03 14:24:08admincreate