fixup! [PortPather] generalize to multi-port functions where possible

This commit is contained in:
Jan Petykiewicz 2025-12-01 11:58:39 -08:00
parent 6c6b1c16ff
commit b12b406df4

View File

@ -533,8 +533,6 @@ class PortPather:
if len(self.ports) > 1: if len(self.ports) > 1:
raise BuildError(f'Unable use implicit path_into() with {len(self.ports)} (>1) ports.') raise BuildError(f'Unable use implicit path_into() with {len(self.ports)} (>1) ports.')
self.pather.path_into(self.ports[0], *args, **kwargs) self.pather.path_into(self.ports[0], *args, **kwargs)
if thru is not None:
self.rename_from(thru)
return self return self
def path_from(self, *args, **kwargs) -> Self: def path_from(self, *args, **kwargs) -> Self: