fixup! [PortPather] generalize to multi-port functions where possible
This commit is contained in:
parent
6c6b1c16ff
commit
b12b406df4
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user