def check_for_updates(application_configuration):
 update_server = appengine_rpc.HttpRpcServer(_UPDATE_SERVER, (lambda : ('unused_email', 'unused_password')), _get_user_agent(), _get_source_name())
 update_server.authenticated = True
 if application_configuration.servers:
  update_check = sdk_update_checker.SDKUpdateChecker(update_server, application_configuration.servers)
  update_check.CheckSupportedVersion()
  if update_check.AllowedToCheckForUpdates():
   update_check.CheckForUpdates()

def check_for_updates ( application_configuration ) : update_server = appengine_rpc . HttpRpcServer ( _UPDATE_SERVER , ( lambda : ( 'unused_email' , 'unused_password' ) ) , _get_user_agent ( ) , _get_source_name ( ) ) update_server . authenticated = True if application_configuration . servers : update_check = sdk_update_checker . SDKUpdateChecker ( update_server , application_configuration . servers ) update_check . CheckSupportedVersion ( ) if update_check . AllowedToCheckForUpdates ( ) : update_check . CheckForUpdates ( )
checks for updates to the sdk .