[Python-Dev] Rights on the tracker

"Martin v. Löwis" martin at v.loewis.de
Mon Feb 14 23:21:15 CET 2011


> Done.  I hope.  This is the first one we (currently) have where more
> than one person is being auto-nosied, so I hope I got the syntax right.

It should be fine:

roundup_tracker=> select * from component_add_as_nosy where nodeid = 25;
 linkid | nodeid
--------+--------
   7641 |     25
  12434 |     25
(2 Zeilen)

It might still be useful to test it, since actually evaluating the
property might also go wrong, but that should be fine as well:

    for component in components:
        users = db.component.get(component, 'add_as_nosy')
        nosy |= set(users)

Regards,
Martin


More information about the Python-Dev mailing list