Commit adf3b4d8 authored by Ben Boeckel's avatar Ben Boeckel Committed by Berk Geveci

pythonalg: raise an error in RequestData by default

Change-Id: I5eeaba72d9e9869b6bc3b8190d5888671f3bf1d0
parent 0b1ca3a0
......@@ -63,7 +63,7 @@ class VTKAlgorithm(object):
def RequestData(self, vtkself, request, inInfo, outInfo):
"""Overwritten by subclass to execute the algorithm."""
return 1
raise NotImplementedError('RequestData must be implemented')
def ProcessRequest(self, vtkself, request, inInfo, outInfo):
"""Splits a request to RequestXXX() methods."""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment