[Pather] clarify a variable name
This commit is contained in:
parent
1faf5ccad5
commit
fe49e1e25b
@ -296,11 +296,11 @@ class Pather(Builder, PatherMixin):
|
|||||||
tool = self.tools.get(portspec, self.tools[None])
|
tool = self.tools.get(portspec, self.tools[None])
|
||||||
in_ptype = self.pattern[portspec].ptype
|
in_ptype = self.pattern[portspec].ptype
|
||||||
tree = tool.path(ccw, length, in_ptype=in_ptype, port_names=tool_port_names, **kwargs)
|
tree = tool.path(ccw, length, in_ptype=in_ptype, port_names=tool_port_names, **kwargs)
|
||||||
abstract = self.library << tree # TODO this seems like a name, not an abstract
|
tname = self.library << tree
|
||||||
if plug_into is not None:
|
if plug_into is not None:
|
||||||
output = {plug_into: tool_port_names[1]}
|
output = {plug_into: tool_port_names[1]}
|
||||||
else:
|
else:
|
||||||
output = {}
|
output = {}
|
||||||
self.plug(abstract, {portspec: tool_port_names[0], **output})
|
self.plug(tname, {portspec: tool_port_names[0], **output})
|
||||||
return self
|
return self
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user