Skip to content

Commit e0da316

Browse files
committed
cppcheckdata.py: fix sys.errout
1 parent 7287ffe commit e0da316

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

addons/cppcheckdata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,6 @@ def reportError(location, severity, message, addon, errorId):
802802
errout = sys.stdout
803803
loc = '[%s:%i:%i]' % (location.file, location.linenr, location.col)
804804
else:
805-
errout = sys.errout
805+
errout = sys.stderr
806806
loc = '[%s:%i]' % (location.file, location.linenr)
807807
errout.write('%s (%s) %s [%s-%s]\n' % (loc, severity, message, addon, errorId))

0 commit comments

Comments
 (0)