Re Denis ;-)

Depending on your usecase, look at the "set" in python.

If you are playing with the ids of your groups, look at the function 
'intersection'

+++

BASTIEN Gauthier
Service Informatique - Administration Communale de Sambreville
071/260.247
http://www.sambreville.be
 

>-----Message d'origine-----
>De : [email protected] 
>[mailto:[email protected]] De la part de Denis Bitouzé
>Envoyé : jeudi 17 mars 2011 14:18
>À : [email protected]
>Objet : [Setup] Best way to get the intersection of (2) groups
>
>Hi,
>
>is there a better way than loops to get the intersection of (2) groups?
>
>Thanks.
>--
>Denis
>_______________________________________________
>Setup mailing list
>[email protected]
>https://lists.plone.org/mailman/listinfo/setup
>
_______________________________________________
Setup mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/setup

Reply via email to