MCPcopy Create free account
hub / github.com/C3ting/ARL / work

Method work

app/services/checkHTTP.py:47–58  ·  view source on GitHub ↗
(self, url)

Source from the content-addressed store, hash-verified

45 return item
46
47 def work(self, url):
48 try:
49 out = self.check(url)
50 if out is not None:
51 self.checkout_map[url] = out
52
53 except requests.exceptions.RequestException as e:
54 pass
55
56 except Exception as e:
57 logger.warning("error on url {}".format(url))
58 logger.warning(e)
59
60 def run(self):
61 t1 = time.time()

Callers

nothing calls this directly

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected