示例#1
0
 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)
示例#2
0
 def __init__(self, *args, **kwargs):
     self._log = get_logger(owner=self)