an oopsie?

Russell Nelson nelson at crynwr.com
Fri Dec 24 07:56:18 CET 2004


Hmmmmm.  Thuban/Model/map.py says this:

    def Layers(self):
        """Return the list of layers contained in the map.

        The list does not include the label layer"""
        return self.layers

and yet later does this in BoundingBox:

        for layer in self.layers:
            if layer is self.label_layer:
                continue

I can't see how both of those can be correct.  If the first is wrong,
there might be a bug hiding.  If the second is wrong, it's just a few
wasted cycles.

-- 
--My blog is at angry-economist.russnelson.com  | Freedom means allowing
Crynwr sells support for free software  | PGPok | people to do things the
521 Pleasant Valley Rd. | +1 315-323-1241 cell  | majority thinks are
Potsdam, NY 13676-3213  | +1 212-202-2318 VOIP  | stupid, e.g. take drugs.




More information about the Thuban-devel mailing list

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