def __init__(self, output_path, sites, **kwargs): self._output_path = os.path.abspath(output_path) if not os.path.isdir(self._output_path): raise ValueError('{0} not a valid path'.format(self._output_path)) self._num_sites = sites self._log = get_logger(owner=self)
def __init__(self, *args, **kwargs): self._log = get_logger(owner=self)