MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / run

Method run

tests_python/debugger_unittest.py:1683–1696  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1681 return self.contents
1682
1683 def run(self):
1684 try:
1685 from urllib.request import urlopen
1686 except ImportError:
1687 from urllib import urlopen
1688 for _ in range(10):
1689 try:
1690 stream = urlopen(full_url)
1691 contents = stream.read()
1692 contents = contents.decode("utf-8")
1693 self.contents = contents
1694 break
1695 except IOError:
1696 continue
1697
1698 t = T()
1699 t.daemon = True

Callers

nothing calls this directly

Calls 2

readMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected