jonathan: thuban/test test_baserenderer.py, 1.10, 1.11 test_layer.py, 1.34, 1.35

Bernhard Herzog bh at intevation.de
Thu Feb 17 11:39:12 CET 2005


cvs at intevation.de writes:

> Index: test_baserenderer.py
[...]
> +        if versions['wxPython-tuple'] < (2,5,3):
> +            raw_mask = binascii.a2b_base64(
> +                'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
> +                'AAAAAAAAAAAAAAAAAAA\n')
> +        else:
> +            raw_mask = binascii.a2b_base64(
> +                '//8P//8P//8P//8P//8P//8P//8P//8P//8P//8P//8P//8P//8P//8P//8P/'
> +                '/8P//8P//8P//8P//8P\n')

Why does this depend on the wx Version?  Baserenderer must not depend on
any GUI library specific things.

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                           http://skencil.org/
Thuban                                  http://thuban.intevation.org/




More information about the Thuban-devel mailing list

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