[Pywps-commits] r831 - trunk/pywps/Parser

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed May 20 08:39:02 CEST 2009


Author: jachym
Date: 2009-05-20 08:39:02 +0200 (Wed, 20 May 2009)
New Revision: 831

Modified:
   trunk/pywps/Parser/Execute.py
Log:
Fixed bug #1009, asReference is not in  wps namespace

Modified: trunk/pywps/Parser/Execute.py
===================================================================
--- trunk/pywps/Parser/Execute.py	2009-05-19 13:01:19 UTC (rev 830)
+++ trunk/pywps/Parser/Execute.py	2009-05-20 06:39:02 UTC (rev 831)
@@ -163,8 +163,7 @@
                     outputNode.getAttributeNS(self.nameSpace,"uom")
 
                 outputs[-1]["asreference"] = False
-                if outputNode.getAttributeNS(
-                        self.nameSpace,"asReference").lower() == "true":
+                if outputNode.getAttributeNS("asReference").lower() == "true":
                     outputs[-1]["asreference"] = True
 
             form["responsedocument"]["outputs"] = outputs



More information about the Pywps-commits mailing list