OSX quantiles [Re: [Thuban-list] Some errors on version 1.0.1]

Bernhard Reiter bernhard at intevation.de
Thu Jan 20 12:32:59 CET 2005


On Thu, Jan 20, 2005 at 10:55:43AM +0100, Lorenzo Moretti wrote:
> Daniel Calvelo Aros wrote
> >The problem with quantiles under OSX comes from these handlers:
> Your tip works... GOOD
> 
> The bug is resolved
> UI/classgen.py 904-907
> 
>             try:
>                 min, max = table.ValueRange(self.fieldName)
>                 self.text_range.SetValue("[" + str(min) + ";" + str(max) + 
>                 "]")
> +                self.OnRangeText(0)
>             finally:
> 
> Why you say "is ugly"?

I cannot immedeatly see how this could hurt otherwise, 
so I commited this to CVS HEAD for now.

> Is this workaround good for CVS only for OS X with IF platform?

Conditionals for certain platform should be avoided if possible,
as they make the code really hard to maintain.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-list/attachments/20050120/19a51820/attachment.bin


More information about the Thuban-list mailing list

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