Skip to content

Commit cc624d3

Browse files
committed
Address PR comments
1 parent 58730e1 commit cc624d3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

reframe/frontend/reporting/storage.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,9 @@ def _extract_sess_info(s):
243243
@time_function
244244
def _mass_json_decode(json_objs):
245245
data = '[' + ','.join(json_objs) + ']'
246-
getlogger().debug(f'decoding {len(data)} bytes')
246+
getlogger().debug(
247+
f'decoding JSON raw data of length {len(data)}'
248+
)
247249
return json.loads(data)
248250

249251
session_infos = {}
@@ -254,10 +256,10 @@ def _mass_json_decode(json_objs):
254256

255257
# Find the UUIDs to decode fully by inspecting only the session info
256258
uuids = []
257-
for info in _mass_json_decode(session_infos.values()):
259+
for sess_info in _mass_json_decode(session_infos.values()):
258260
try:
259-
if self._db_filter_json(sess_filter, info):
260-
uuids.append(info['uuid'])
261+
if self._db_filter_json(sess_filter, sess_info):
262+
uuids.append(sess_info['uuid'])
261263
except Exception:
262264
continue
263265

0 commit comments

Comments
 (0)