aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/f2c.py
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2024-09-26 14:44:45 +0000
committerAlexander Smirnov <alex@ydb.tech>2024-09-26 14:44:45 +0000
commitc853e78c5e416ede1d99665049657f2e304872e4 (patch)
treeb6e2e59629b8e0f863eec9a700121ca3f7416f28 /build/scripts/f2c.py
parent7d208c76420539a7e44f2393c66e7d0444744517 (diff)
parent47e779420bb80722978c1ffd518245bffd886a50 (diff)
downloadydb-c853e78c5e416ede1d99665049657f2e304872e4.tar.gz
Merge branch 'rightlib' into mergelibs-240926-1443
Diffstat (limited to 'build/scripts/f2c.py')
-rw-r--r--build/scripts/f2c.py5
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)