Hi,

2009/10/12 Glynn Clements <[email protected]>:
> Obviously, if the "import wxversion" fails, wxversion.VersionError
> isn't going to resolve.
>
> FWIW, the same problem exists in trunk.
>
> The code should probably look something like:
>
>    try:
>        import wxversion
>        try:
>            wxversion.select(str(minVersion[0]) + '.' + str(minVersion[1]))
>            ...
>        except (ValueError, wxversion.VersionError), e:
>            ...
>
>    except ImportError, e:

right, hopefully fixed r39494.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to