Debian Codegraph @

python/coccilib/report.py

raw
1 def build_report(p, msg) :
2 return "%s:%s:%s-%s: %s" % (p.file,p.line,p.column,p.column_end,msg)
3
4 def print_report(p, msg="ERROR") :
5 print(build_report(p, msg))