def __enter__(self):
        try:
            self._lock_state_file()
            if isfile(self.path):
                self._state = util.load_json(self.path)
        except __HOLE__:
            self._state = {}
        self._prev_state = deepcopy(self._state)
        return self._state
dataset/ETHPy150Open platformio/platformio/platformio/app.py/State.__enter__