[Inteproxy-commits] r272 - in trunk: . inteproxy
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Sep 17 20:44:14 CEST 2010
Author: bh
Date: 2010-09-17 20:44:13 +0200 (Fri, 17 Sep 2010)
New Revision: 272
Modified:
trunk/ChangeLog
trunk/inteproxy/transcoder.py
Log:
* inteproxy/transcoder.py
(OWSProxyPOSTTranscoder.convert_request): Fix doc-string.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-09-17 18:15:32 UTC (rev 271)
+++ trunk/ChangeLog 2010-09-17 18:44:13 UTC (rev 272)
@@ -1,6 +1,11 @@
2010-09-17 Bernhard Herzog <bh at intevation.de>
* inteproxy/transcoder.py
+ (OWSProxyPOSTTranscoder.convert_request): Fix doc-string.
+
+2010-09-17 Bernhard Herzog <bh at intevation.de>
+
+ * inteproxy/transcoder.py
(OWSProxyPOSTTranscoder.wfs_root_elements): New. Moved from
convert_request to class scope. Add the root element names of the
rest of the WFS requests.
Modified: trunk/inteproxy/transcoder.py
===================================================================
--- trunk/inteproxy/transcoder.py 2010-09-17 18:15:32 UTC (rev 271)
+++ trunk/inteproxy/transcoder.py 2010-09-17 18:44:13 UTC (rev 272)
@@ -137,8 +137,7 @@
"{http://www.opengis.net/wfs}Transaction"))
def convert_request(self, request):
- """Adds user and password attributes to the GetFeature element.
- """
+ """Add user and password attributes to WFS top-level elements."""
t = etree.parse(StringIO(request.body))
root = t.getroot()
if root.tag in self.wfs_root_elements:
More information about the Inteproxy-commits
mailing list