def _get_fs(self):
        self.logger.info('Trying to open file %s' % self.path)
        with open(self.path, 'r') as fd:
            try:
                tasks = json.load(fd)
                self.logger.info('Found %d task(s)' % len(tasks))
            except __HOLE__, err:
                raise Exception('Error while loading json: {0}'.format(err))
        return tasks or []
dataset/ETHPy150Open comodit/synapse-agent/synapse/resourcefile.py/ResourceFile._get_fs