[Pywps-commits] r1004 - trunk/pywps/Wps/Execute

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Sep 3 12:32:05 CEST 2010


Author: jachym
Date: 2010-09-03 12:32:04 +0200 (Fri, 03 Sep 2010)
New Revision: 1004

Modified:
   trunk/pywps/Wps/Execute/UMN.py
Log:
another fix in UMN

Modified: trunk/pywps/Wps/Execute/UMN.py
===================================================================
--- trunk/pywps/Wps/Execute/UMN.py	2010-09-03 09:47:21 UTC (rev 1003)
+++ trunk/pywps/Wps/Execute/UMN.py	2010-09-03 10:32:04 UTC (rev 1004)
@@ -297,7 +297,8 @@
  
     def save(self):
         """Save the mapfile to disc"""
-        self.mapObj.save(self.mapFileName)
+        if self.mapObj:
+            self.mapObj.save(self.mapFileName)
 
     def getMapServerWCS(self,output):
         """Get the URL for mapserver WCS request of the output"""



More information about the Pywps-commits mailing list