

def locked_get(self):
    'Retrieve Credential from file.\n\n        Returns:\n            oauth2client.client.Credentials\n\n        Raises:\n            CredentialsFileSymbolicLinkError if the file is a symbolic link.\n        '
    credentials = None
    self._validate_file()
    try:
        f = open(self._filename, 'rb')
        content = f.read()
        f.close()
    except IOError:
        return credentials
    try:
        credentials = Credentials.new_from_json(content)
        content.set_store(self)
    except ValueError:
        pass
    return credentials

dataset/ETHPy150Open google/oauth2client/oauth2client/file.py Storage.locked_get/VarMisuse@74/144 `credentials`->`content`