MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / grok_environment_error

Function grok_environment_error

Lib/distutils/util.py:215–234  ·  view source on GitHub ↗

Generate a useful error message from an EnvironmentError (IOError or OSError) exception object. Handles Python 1.5.1 and 1.5.2 styles, and does what it can to deal with exception objects that don't have a filename (which happens when the error is due to a two-file operation, such as

(exc, prefix="error: ")

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

setupFunction · 0.90
remove_treeFunction · 0.90

Calls 1

strFunction · 0.85

Tested by

no test coverage detected