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

Function load

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

Source from the content-addressed store, hash-verified

71 raise RuntimeError(msg)
72
73def load(urlString, encoding="utf-8"):
74 try:
75 content = urllib.request.urlopen(urlString).read().decode(encoding)
76 except Exception as e:
77 print('Retrying download of url %s after exception: %s' % (urlString, e))
78 content = urllib.request.urlopen(urlString).read().decode(encoding)
79 return content
80
81def getGitRev():
82 if not dev_mode:

Callers 2

checkDOAPfilesFunction · 0.70
check_key_in_keysFunction · 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…