Skip to content

Commit 89f82a9

Browse files
committed
Update for TF failure on older versions of python
1 parent 2b85cca commit 89f82a9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/resources/scripts/generate_xml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ def skipReporting(self, env):
895895

896896
if hashCode not in self.cbtDict.keys():
897897
if self.verbose:
898-
print(f"Skipping report because hashCode ({hashCode}) for build dir ({build_dir}) not found in cbtdict")
898+
print("Skipping report because hashCode (" + hashCode + ") for build dir (" + build_dir + ") not found in cbtdict")
899899

900900
return True
901901
else:
@@ -1022,7 +1022,7 @@ def __init__(self, FullManageProjectName, build_dir, env, compiler, testsuite, c
10221022
self.hashCode = hashlib.md5(build_dir_4hash).hexdigest()
10231023

10241024
if verbose:
1025-
print (f"HashCode: {self.hashCode} for build dir: {build_dir_4hash}")
1025+
print ("HashCode: " + self.hashCode + "for build dir: " + build_dir)
10261026

10271027
self.build_dir = build_dir
10281028
self.env = env

src/main/resources/scripts/parse_console_for_cbt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ def parse(self, console_log):
9898
hashCode = hashlib.md5(build_dir).hexdigest()
9999

100100
if self.verbose:
101-
print (f"HashCode: {hashCode} for build dir: {build_dir}")
102-
101+
print ("HashCode: " + hashCode + " for build dir: " + build_dir)
102+
103103
started = True
104104
if hashCode not in self.environmentDict.keys():
105105
self.environmentDict[hashCode] = [{},{},{}]

0 commit comments

Comments
 (0)