Diff
Not logged in

Differences From Artifact [0f2d183af8]:

To Artifact [b234d6b35f]:


929
930
931
932
933
934
935
936

937
938
939
940
941
942
943
929
930
931
932
933
934
935

936
937
938
939
940
941
942
943







-
+








    #
    # NOTE: Emit diagnostic messages when a URI is fetched?
    #
    variable verboseUriDownload; # DEFAULT: false

    if {![info exists verboseUriDownload]} then {
      set verboseUriDownload true
      set verboseUriDownload false
    }
  }

  proc main { package version caller } {
    #
    # NOTE: Get the list of API keys and try each one, in order, until
    #       the package is found.
953
954
955
956
957
958
959
960


961
962
963
964
965
966
967
953
954
955
956
957
958
959

960
961
962
963
964
965
966
967
968







-
+
+








      #
      # NOTE: Attempt to grab the lookup code from the response data.
      #
      set code [getLookupCodeFromData $data]

      #
      # NOTE: Did the lookup operation fail?
      # NOTE: Did the lookup operation succeed?  If so, stop trying
      #       other API keys.
      #
      if {[isLookupCodeOk $code]} then {
        break
      }
    }

    #