cleanup
This commit is contained in:
parent
ed021e3d81
commit
ff8ca92963
13 changed files with 29 additions and 24 deletions
|
|
@ -400,11 +400,12 @@ class Pather(Builder, PatherMixin):
|
|||
kwargs_plug = kwargs | {'plug_into': plug_into}
|
||||
self.path(portspec, ccw0, length - abs(jog1), **kwargs_no_out)
|
||||
self.path(portspec, not ccw0, abs(jog - jog0), **kwargs_plug)
|
||||
return self
|
||||
except (BuildError, NotImplementedError):
|
||||
if not self._dead:
|
||||
raise
|
||||
# Fall through to dummy extension below
|
||||
else:
|
||||
return self
|
||||
except BuildError:
|
||||
if not self._dead:
|
||||
raise
|
||||
|
|
|
|||
|
|
@ -528,11 +528,12 @@ class RenderPather(PatherMixin):
|
|||
kwargs_plug = kwargs | {'plug_into': plug_into}
|
||||
self.path(portspec, ccw0, length - abs(jog1), **kwargs_no_out)
|
||||
self.path(portspec, not ccw0, abs(jog - jog0), **kwargs_plug)
|
||||
return self
|
||||
except (BuildError, NotImplementedError):
|
||||
if not self._dead:
|
||||
raise
|
||||
# Fall through to dummy extension below
|
||||
else:
|
||||
return self
|
||||
except BuildError:
|
||||
if not self._dead:
|
||||
raise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue