ClassGroup.Matches()

Frank Koormann frank.koormann at intevation.de
Thu Jun 29 20:19:00 CEST 2006


Am Donnerstag 29 Juni 2006 18:15 schrieb Bernhard Herzog:
> Frank Koormann <frank.koormann at intevation.de> writes:
> > So has ClassGroup.Matches() needless in the meantime? Should it be
> > cleaned from the ClassGroup class?
>
> Extensions/umn_mapserver/mapfile.py seems to be using it.

Right, I missed that. However, I am not sure if

	group.Matches("DEFAULT")

is the right way to check for the default group. All other cases use

	isinstance(group, ClassGroupDefault)

Anyway, I'll implement a ClassGroupPattern.Matches()

Frank

-- 
Frank Koormann                             <frank.koormann at intevation.de>
 Professional Service around Free Software       (http://intevation.net/)
 FreeGIS Project                                 (http://freegis.org/)




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)