[Pywps-commits] r553 - trunk/pywps/WPS

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Sep 1 16:00:07 CEST 2008


Author: jachym
Date: 2008-09-01 16:00:07 +0200 (Mon, 01 Sep 2008)
New Revision: 553

Modified:
   trunk/pywps/WPS/Execute.py
Log:
bugfix process -> self.process

Modified: trunk/pywps/WPS/Execute.py
===================================================================
--- trunk/pywps/WPS/Execute.py	2008-09-01 10:46:48 UTC (rev 552)
+++ trunk/pywps/WPS/Execute.py	2008-09-01 14:00:07 UTC (rev 553)
@@ -203,10 +203,10 @@
                 self.process = eval("module."+self.wps.inputs["identifier"]+".Process()")
 
                 # process identifier must be == package name 
-                if process.identifier != processName:
+                if self.process.identifier != processName:
                     raise ImportError(
                             "Process indentifier \"%s\" != package name \"%s\": File name has to be the same, as the identifier is!" %\
-                            (process.identifier, processName))
+                            (self.process.identifier, processName))
 
             except Exception, e:
                 raise self.wps.exceptions.NoApplicableCode(



More information about the Pywps-commits mailing list