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
}
}
proc main { package version caller } {
#
# NOTE: Get the list of API keys and try each one, in order, until
# the package is found.
|
|
|
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 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
|
#
# NOTE: Attempt to grab the lookup code from the response data.
#
set code [getLookupCodeFromData $data]
#
# NOTE: Did the lookup operation fail?
#
if {[isLookupCodeOk $code]} then {
break
}
}
#
|
|
>
|
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 succeed? If so, stop trying
# other API keys.
#
if {[isLookupCodeOk $code]} then {
break
}
}
#
|