MCPcopy Create free account
hub / github.com/apache/solr / load

Function load

dev-tools/scripts/releaseWizard.py:1184–1190  ·  view source on GitHub ↗
(urlString, encoding="utf-8")

Source from the content-addressed store, hash-verified

1182
1183
1184def load(urlString, encoding="utf-8"):
1185 try:
1186 content = urllib.request.urlopen(urlString).read().decode(encoding)
1187 except Exception as e:
1188 print('Retrying download of url %s after exception: %s' % (urlString, e))
1189 content = urllib.request.urlopen(urlString).read().decode(encoding)
1190 return content
1191
1192
1193def configure_pgp(gpg_todo):

Callers 2

get_mirrored_versionsMethod · 0.70

Calls 2

decodeMethod · 0.65
readMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…