def locked_put(self, credentials):

    self._create_file_if_needed()
    f = open(self._filename, 'wb')
    f.write(credentials.to_json())
    f.close()
Write Credentials to file.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/google-api-python-client/oauth2client/file.py/Storage.locked_put