bh: thuban/Thuban/Model layer.py,1.57,1.58
cvs@intevation.de
cvs at intevation.de
Thu Jun 3 17:17:56 CEST 2004
Author: bh
Update of /thubanrepository/thuban/Thuban/Model
In directory doto:/tmp/cvs-serv19463/Thuban/Model
Modified Files:
layer.py
Log Message:
(Layer.TreeInfo): Convert the bounding box
to a tuple before using it as arguments to the % operator. This
fixes the formatting issue filed in RT#2239 on 2004-01-13 and
reported today on thuban-list by Jan Schüngel
Index: layer.py
===================================================================
RCS file: /thubanrepository/thuban/Thuban/Model/layer.py,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- layer.py 27 Nov 2003 15:57:23 -0000 1.57
+++ layer.py 3 Jun 2004 15:17:54 -0000 1.58
@@ -1,4 +1,4 @@
-# Copyright (c) 2001, 2002, 2003 by Intevation GmbH
+# Copyright (c) 2001, 2002, 2003, 2004 by Intevation GmbH
# Authors:
# Bernhard Herzog <bh at intevation.de>
# Jonathan Coles <jonathan at intevation.de>
@@ -289,7 +289,7 @@
bbox = self.LatLongBoundingBox()
if bbox is not None:
- items.append(_("Extent (lat-lon): (%g, %g, %g, %g)") % bbox)
+ items.append(_("Extent (lat-lon): (%g, %g, %g, %g)") % tuple(bbox))
else:
items.append(_("Extent (lat-lon):"))
items.append(_("Shapetype: %s") % shapetype_names[self.ShapeType()])
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)