Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ error
Function
error
ci/lint.py:28–32 ·
view source on GitHub ↗
(msg=None)
Source
from the content-addressed store, hash-verified
26
27
success = True
28
def
error(msg=None):
29
global success
30
success = False
31
if
msg:
32
sys.stderr.write(msg +
'\n'
)
33
34
def
format_lines(lines, total):
35
if
len(lines) == total - 1:
Callers
1
main
Function · 0.70
Calls
1
write
Method · 0.45
Tested by
no test coverage detected