diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/backends/json.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/backends/json.py b/framework/backends/json.py index 17002ed58..55169191d 100644 --- a/framework/backends/json.py +++ b/framework/backends/json.py @@ -380,7 +380,10 @@ def _update_eight_to_nine(result): """ for test in compat.viewvalues(result['tests']): - test['pid'] = [test['pid']] + if 'pid' in test: + test['pid'] = [test['pid']] + else: + test['pid'] = [] result['results_version'] = 9 |