def __init__(self, basedir=None, runner=None, **kwargs):
    self.runner = runner
    self.basedir = self.runner.basedir

    def get_basedir(self, variables):
        return self.basedir
def __init__(self, basedir=None, runner=None, **kwargs):
    self.runner = runner
    self.basedir = self.runner.basedir

    def get_basedir(self, variables):
        return self.basedir