diff options
author | Alexander Smirnov <alex@ydb.tech> | 2024-09-26 14:44:45 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2024-09-26 14:44:45 +0000 |
commit | c853e78c5e416ede1d99665049657f2e304872e4 (patch) | |
tree | b6e2e59629b8e0f863eec9a700121ca3f7416f28 /build/scripts/f2c.py | |
parent | 7d208c76420539a7e44f2393c66e7d0444744517 (diff) | |
parent | 47e779420bb80722978c1ffd518245bffd886a50 (diff) | |
download | ydb-c853e78c5e416ede1d99665049657f2e304872e4.tar.gz |
Merge branch 'rightlib' into mergelibs-240926-1443
Diffstat (limited to 'build/scripts/f2c.py')
-rw-r--r-- | build/scripts/f2c.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/scripts/f2c.py b/build/scripts/f2c.py index 878580e4d4..fc1c1d0f8a 100644 --- a/build/scripts/f2c.py +++ b/build/scripts/f2c.py @@ -1,3 +1,4 @@ +from __future__ import print_function import sys import subprocess import argparse @@ -49,11 +50,11 @@ if __name__ == '__main__': ret = p.wait() if ret: - print >> sys.stderr, 'f2c failed: %s, %s' % (stderr, ret) + print('f2c failed: %s, %s' % (stderr, ret), file=sys.stderr) sys.exit(ret) if 'Error' in stderr: - print >> sys.stderr, stderr + print(stderr, file=sys.stderr) with open(args.output, 'w') as f: f.write(header) |