FIx BOARD class SWIG interface
Commit b1f0bf7
changed netinfo.h to use more consistent naming, but the SWIG board.i file still references the old name.
This commit is contained in:
parent
bc99545eb2
commit
f225e95ffc
|
@ -147,7 +147,7 @@ HANDLE_EXCEPTIONS(BOARD::TracksInNetBetweenPoints)
|
|||
Given a netname, return its netcode
|
||||
"""
|
||||
net = self.GetNetsByName()[netname]
|
||||
return net.GetNet()
|
||||
return net.GetNetCode()
|
||||
|
||||
def GetAllNetClasses(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue