def load(self):
        logger.info('Loading...')

        if not os.path.isfile(self.PATH):
            logger.info('"%s" is not a regular file. Skipping.', self.PATH)
            return

        with open(self.PATH) as f:
            try:
                self._prefs = json.loads(f.read())
            except __HOLE__ as error:
                logger.exception(error)
                return

        logger.info('Loaded')
dataset/ETHPy150Open operasoftware/sentrycli/sentrycli/preferences.py/Preferences.load