def ensure_dir(self):
        """Creates the directory if it does not exist yet."""
        dir = os.path.dirname(self.dst_filename)
        try:
            os.makedirs(dir)
        except __HOLE__:
            pass
dataset/ETHPy150Open lektor/lektor/lektor/builder.py/Artifact.ensure_dir