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:
Cameron McQuinn 2020-12-11 14:58:57 -07:00 committed by Jeff Young
parent bc99545eb2
commit f225e95ffc
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ HANDLE_EXCEPTIONS(BOARD::TracksInNetBetweenPoints)
Given a netname, return its netcode Given a netname, return its netcode
""" """
net = self.GetNetsByName()[netname] net = self.GetNetsByName()[netname]
return net.GetNet() return net.GetNetCode()
def GetAllNetClasses(self): def GetAllNetClasses(self):
""" """