

def _load_source(self, filename):
    try:
        with open(filename, 'r') as stream:
            raw_data = yaml.load(stream)
        self._parse_raw_data(raw_data)
    except ScannerError as e:
        raise BootstrapSourceError((self.ERROR_PREFIX + ('Error %s' % e.message)))

dataset/ETHPy150Open CacheBrowser/cachebrowser/cachebrowser/bootstrap.py LocalBootstrapSource._load_source/original