Skip to content

Commit 7880fba

Browse files
committed
Add print_err for Python 2
1 parent 2562166 commit 7880fba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scorep/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
import re
55

66

7-
def print_err(*args, **kwargs):
7+
def print_err(*args):
88
"""Print to stderr"""
9-
print(*args, file=sys.stderr, **kwargs)
9+
sys.stderr.write(' '.join(map(str, args)) + '\n')
1010

1111

1212
def call(arguments):

0 commit comments

Comments
 (0)