Skip to content

Commit

Permalink
Merge pull request #73 from certik/vtk6_fix
Browse files Browse the repository at this point in the history
Fix TVTK for VTK 6
  • Loading branch information
prabhuramachandran committed Jun 3, 2013
2 parents 576b9ca + 3e478b1 commit 0dedbd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tvtk/tools/tvtk_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_tvtk_class_names():
klass = getattr(vtk, name)
try:
c = klass()
except TypeError:
except (TypeError, NotImplementedError):
continue

tvtk_name = get_tvtk_name(name)
Expand Down
2 changes: 1 addition & 1 deletion tvtk/vtk_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ def _get_instance(self, klass):
obj = None
try:
obj = klass()
except TypeError:
except (TypeError, NotImplementedError):
if self._tree:
t = self._tree
n = t.get_node(klass.__name__)
Expand Down

0 comments on commit 0dedbd9

Please sign in to comment.