[Pywps-commits] r675 - branches/pywps-3.0/pywps/Wps
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Oct 1 18:22:49 CEST 2008
Author: jachym
Date: 2008-10-01 18:22:49 +0200 (Wed, 01 Oct 2008)
New Revision: 675
Modified:
branches/pywps-3.0/pywps/Wps/GetCapabilities.py
Log:
merged revision 674: fixing error handeling in GetCapabilities
Modified: branches/pywps-3.0/pywps/Wps/GetCapabilities.py
===================================================================
--- branches/pywps-3.0/pywps/Wps/GetCapabilities.py 2008-10-01 16:21:42 UTC (rev 674)
+++ branches/pywps-3.0/pywps/Wps/GetCapabilities.py 2008-10-01 16:22:49 UTC (rev 675)
@@ -42,7 +42,10 @@
Response.__init__(self,wps)
except Exception, e:
self.cleanEnv()
- raise self.wps.exceptions.NoApplicableCode(e.message)
+ rep = e
+ if e.message:
+ rep = e.message
+ raise self.wps.exceptions.NoApplicableCode(rep)
try:
self.template = self.templateManager.prepare(self.templateFile)
More information about the Pywps-commits
mailing list