def load(self):
        self._data = {}

        try:
            self._data = json.load(open(self.path, "rU"))
            self._dirty = False
        except __HOLE__:
            logger.warning("Unable to load configuration at '{0}'. No file found.".format(self.path))
        except ValueError as e:
            logger.error("Unable to load configuration at '{0}'. Invalid JSON caused by: {1}".format(self.path, e))
        except Exception as e:
            logger.exception("Unable to load configuration at '{0}'.".format(self.path))
dataset/ETHPy150Open koenbok/Cactus/cactus/config/file.py/ConfigFile.load