931
932
933
934
935
936
937
938
939
940
941
|
931
932
933
934
935
936
937
938
939
940
941
|
-
+
|
# 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 } {
#
|
955
956
957
958
959
960
961
962
963
964
965
|
955
956
957
958
959
960
961
962
963
964
965
966
|
-
+
+
|
# 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
}
}
|