joey: thuban/Extensions/wms parser.py,1.4,1.5
cvs@intevation.de
cvs at intevation.de
Sat Apr 10 21:12:43 CEST 2004
Author: joey
Update of /thubanrepository/thuban/Extensions/wms
In directory doto:/tmp/cvs-serv18618
Modified Files:
parser.py
Log Message:
Whoops, it's "foo".lower() and not lower(foo) without lower imported
from strings or something.
Index: parser.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/wms/parser.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- parser.py 10 Apr 2004 13:20:53 -0000 1.4
+++ parser.py 10 Apr 2004 19:12:41 -0000 1.5
@@ -105,14 +105,14 @@
# Extract fees information
foo = getElementByName(getElementByName(root, 'Service'), 'Fees')
if foo and len(foo.childNodes[0].data) \
- and lower(foo.childNodes[0].data) != 'none':
+ and foo.childNodes[0].data.lower() != 'none':
self.fees = foo.childNodes[0].data
# Extract access information
foo = getElementByName(getElementByName(root, 'Service'),
'AccessConstraints')
if foo and len(foo.childNodes[0].data) \
- and lower(foo.childNodes[0].data) != 'none':
+ and foo.childNodes[0].data.lower() != 'none':
self.access = foo.childNodes[0].data
# Extract output format information
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)