[GRASS-dev] Re: requiring 2.8.1.1???
Martin Landa
landa.martin at gmail.com
Sun Jul 27 13:12:57 EDT 2008
Hi,
2008/7/27 Glynn Clements <glynn at gclements.plus.com>:
[...]
>> AFAIU, that's CheckForWx() should do
>>
>> http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/gui_modules/globalvar.py#L27
>
> Right.
>
> BTW, you can use inequality operators on lists, so you can compare
> hierarchical version numbers with e.g.:
>
> version = wx.version().split(' ')[0]
> if map(int,version.split('.')) < [2,8,1,1]:
> raise ...
thanks, committed
http://trac.osgeo.org/grass/changeset/32338
and
http://trac.osgeo.org/grass/changeset/32339
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
More information about the grass-dev
mailing list