Ticket #47762: mayavi_wrapper.patch

File mayavi_wrapper.patch, 758 bytes (added by jjstickel (Jonathan Stickel), 9 years ago)
  • tvtk/wrapper_gen.py

    diff -ur enthought-mayavi-ab11030/tvtk/wrapper_gen.py enthought-mayavi-ab11030_patch/tvtk/wrapper_gen.py
    old new  
    10431043          information is used.
    10441044        """
    10451045        if not sig:
    1046             sig = self.parser.get_method_signature(vtk_meth)
     1046            try:
     1047                sig = self.parser.get_method_signature(vtk_meth)
     1048            except:
     1049                print 'err159\t', vtk_meth
     1050                return
    10471051
    10481052        # Figure out if we really need to wrap the return and deref
    10491053        # the args.