ref #12 remove hasattr validation

This commit is contained in:
Andrei Yankovich 2021-04-15 21:39:38 +03:00
parent 96f8cd89c3
commit b921aad1e3

View File

@ -9,8 +9,7 @@ class StepFactory:
pass
def addStep(self, step):
if hasattr(step, 'workdir'):
step.workdir = self.pwd
step.workdir = self.pwd
self.factory.addStep(step)