Changeset 8bbfd4d in tol for tol/stdlib/general/grammars/_text.tol
- Timestamp:
- Feb 8, 2012, 6:57:11 PM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- aaf0528
- Parents:
- b83b8ed3
- File:
-
- 1 edited
-
tol/stdlib/general/grammars/_text.tol (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/general/grammars/_text.tol
rb83b8ed3 r8bbfd4d 1172 1172 ////////////////////////////////////////////////////////////////////////////// 1173 1173 { 1174 Write("[GetUrlContents.tcl.uri] Downloading from \""+url+"\" ... "); 1174 If(TolConfigManager::Config::Various::Verbose::DownloadingUrl, 1175 Write("[GetUrlContents.tcl.uri] Downloading from \""+url+"\" ... ")); 1175 1176 Text tcl_helper = 1176 1177 "package require uri\n"+ … … 1192 1193 Text If(result["status"], 1193 1194 { 1194 WriteLn("OK"); 1195 If(TolConfigManager::Config::Various::Verbose::DownloadingUrl, 1196 WriteLn("OK")); 1195 1197 Text result["result"] 1196 1198 }, … … 1212 1214 ////////////////////////////////////////////////////////////////////////////// 1213 1215 { 1214 Write("[GetUrlContents.tcl.curl] Downloading from \""+url_+"\" ... "); 1216 If(TolConfigManager::Config::Various::Verbose::DownloadingUrl, 1217 Write("[GetUrlContents.tcl.curl] Downloading from \""+url_+"\" ... ")); 1215 1218 Set result1 = CurlApi::GetUrl( [[ Text url = url_ ]] ); 1216 1219 If( result1::failStatus, … … 1221 1224 }, 1222 1225 { 1223 WriteLn("OK"); 1226 If(TolConfigManager::Config::Various::Verbose::DownloadingUrl, 1227 WriteLn("OK")); 1224 1228 result1::bodyData 1225 1229 }) … … 1230 1234 ////////////////////////////////////////////////////////////////////////////// 1231 1235 { 1232 WriteLn("[GetUrlContents.sys.wget]Downloading from \""+url+"\" ..."); 1236 If(TolConfigManager::Config::Various::Verbose::DownloadingUrl, 1237 WriteLn("[GetUrlContents.sys.wget]Downloading from \""+url+"\" ...")); 1233 1238 Text tmp = TmpDir+"wget."<<IntRand(111111111,999999999)+".tmp"; 1234 1239 Text order = "wget -O"+tmp+" "+url;
Note: See TracChangeset
for help on using the changeset viewer.
