[pywps] 01/01: Fix PyWPS process definition.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Jun 10 17:01:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository pywps.

commit 480820b2024f1d2850cc6dd99539c0eaf94ad412
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jun 10 18:59:06 2016 +0200

    Fix PyWPS process definition.
    
    Origin: https://github.com/OSGeo/OSGeoLive/pull/122/commits/1e171b74b2834d79813f2542c4be4429a7a674d4
    Author: Tom Kralidis
---
 debian/share/pywps/processes/hello_world.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/share/pywps/processes/hello_world.py b/debian/share/pywps/processes/hello_world.py
index e6c29cd..8a1dad5 100644
--- a/debian/share/pywps/processes/hello_world.py
+++ b/debian/share/pywps/processes/hello_world.py
@@ -10,10 +10,11 @@ class HelloWorldProcess(WPSProcess):
             storeSupported=False,
             statusSupported=False)
 
-        self.data = self.addComplexInput(identifier='name',
+        self.data = self.addLiteralInput(identifier='name',
+                                         type=type('string'),
                                          title='Name')
 
-        self.out = self.addComplexOutput(identifier='output',
+        self.out = self.addLiteralOutput(identifier='output',
                                          title='Output')
 
     def execute(self):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pywps.git



More information about the Pkg-grass-devel mailing list