aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/create_jcoverage_report.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/create_jcoverage_report.py
parent7d208c76420539a7e44f2393c66e7d0444744517 (diff)
parent47e779420bb80722978c1ffd518245bffd886a50 (diff)
downloadydb-c853e78c5e416ede1d99665049657f2e304872e4.tar.gz
Merge branch 'rightlib' into mergelibs-240926-1443
Diffstat (limited to 'build/scripts/create_jcoverage_report.py')
-rw-r--r--build/scripts/create_jcoverage_report.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/scripts/create_jcoverage_report.py b/build/scripts/create_jcoverage_report.py
index f24827d8ae..0dd75bb0a8 100644
--- a/build/scripts/create_jcoverage_report.py
+++ b/build/scripts/create_jcoverage_report.py
@@ -1,3 +1,4 @@
+from __future__ import print_function
import argparse
import tarfile
import zipfile
@@ -77,12 +78,12 @@ def main(
else:
continue
- entry.filename = entry.filename.encode('utf-8')
+ entry.filename = entry.filename
jf.extract(entry, dest)
timer.step("Jar files extracted")
if not agent_disposition:
- print >> sys.stderr, 'Can\'t find jacoco agent. Will not generate html report for java coverage.'
+ print('Can\'t find jacoco agent. Will not generate html report for java coverage.', file=sys.stderr)
if tar_output:
report_dir = 'java.report.temp'