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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sun Feb 22 16:32:14 CET 2009


Author: jachym
Date: 2009-02-22 16:32:09 +0100 (Sun, 22 Feb 2009)
New Revision: 778

Modified:
   trunk/pywps/Parser/Execute.py
Log:
fixed bug, identifier not set

Modified: trunk/pywps/Parser/Execute.py
===================================================================
--- trunk/pywps/Parser/Execute.py	2009-02-22 15:27:48 UTC (rev 777)
+++ trunk/pywps/Parser/Execute.py	2009-02-22 15:32:09 UTC (rev 778)
@@ -203,7 +203,7 @@
             try:
                 identifier = inputNode.getElementsByTagNameNS(
                      self.owsNameSpace,"Identifier")[0].firstChild.nodeValue
-            except IndexError:
+            except (IndexError, AttributeError):
                 raise self.wps.exceptions.NoApplicableCode(
                                               "Identifier for input not set")
 



More information about the Pywps-commits mailing list