def locked_get(self):
    """Retrieve Credential from file.

    Returns:
      oauth2client.client.Credentials
    """
    credentials = None
    try:
      f = open(self._filename, 'rb')
      content = f.read()
      f.close()
    except __HOLE__:
      return credentials

    try:
      credentials = Credentials.new_from_json(content)
      credentials.set_store(self)
    except ValueError:
      pass

    return credentials
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/google-api-python-client/oauth2client/file.py/Storage.locked_get