Skip to content

Commit

Permalink
Fixed tempfile value and AddInput method name
Browse files Browse the repository at this point in the history
  • Loading branch information
rexissimus committed Feb 25, 2015
1 parent e604aad commit 62482e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vistrails/packages/vtk/generate/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def is_abstract():
issubclass(node.klass, vtk.vtkScalarTree)

is_algorithm = issubclass(node.klass, vtk.vtkAlgorithm)
tempfile = '_tempfile,.vtk' if issubclass(node.klass, vtk.vtkWriter) else None
tempfile = '_tempfile' if issubclass(node.klass, vtk.vtkWriter) else None
callback = '_callback' if is_algorithm else None
outputs = '_outputs'

Expand Down Expand Up @@ -712,6 +712,7 @@ def get_other_ports(cls, other_list):

ps = InputPortSpec(n,
name=n,
method_name=name,
port_type=port_types,
show_port=show_port,
docstring=get_doc(cls, n))
Expand All @@ -736,7 +737,6 @@ def get_custom_ports(cls):
input_ports = []
output_ports = []

# FIXME: Where is this used?
if cls == vtk.vtkAlgorithm:
ps = InputPortSpec('AddInputConnection',
port_type='vtkAlgorithmOutput',
Expand Down

0 comments on commit 62482e1

Please sign in to comment.