[Tilecache] outstanding patches?

Christopher Schmidt crschmidt at metacarta.com
Sun Jan 18 21:28:01 EST 2009


On Thu, Dec 18, 2008 at 09:40:06AM +0100, Frédéric Junod wrote:
> re,
> 
> Some minor issues that I've spotted in TileCache/Service.py:
>   * mod_python: set the apache status code (apache.HTTP_OK)
>   * mod_python: catch TileCacheException instead of Layer.TileCacheException
> 
> Patch attached.

Applied, thanks!

> fredj
> 
> Le Sun, 14 Dec 2008 10:12:21 -0500,
> Christopher Schmidt <crschmidt at metacarta.com> a écrit :
> 
> > All,
> > 
> > I'm probably going to do a new release of TileCache relatively soon.
> > Does anyone have any patches that they think I've missed?
> > 
> > I'm going to be bumping the version to 2.10, since there have been some
> > changes in the tilecache_seed.py arguments parsing. (It's much more sane
> > now.)  
> > 
> > If I don't hear anything by Tuesday or so, I'll probably kick out the
> > new release then. 
> > 
> > Regards,
> 
> 
> -- 
> Frédéric Junod
> Camptocamp SA

> Index: TileCache/Service.py
> ===================================================================
> --- TileCache/Service.py	(revision 374)
> +++ TileCache/Service.py	(working copy)
> @@ -255,9 +255,10 @@
>                                  apacheReq.method,
>                                  host )
>          apacheReq.content_type = format
> +        apacheReq.status = apache.HTTP_OK
>          apacheReq.send_http_header()
>          apacheReq.write(image)
> -    except Layer.TileCacheException, E:
> +    except TileCacheException, E:
>          apacheReq.content_type = "text/plain"
>          apacheReq.status = apache.HTTP_NOT_FOUND
>          apacheReq.send_http_header()
> 

> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache


-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list