Merge pull request #213 from messa/patch-1

Fix reprcrash check in unserialize_report()
This commit is contained in:
Ronny Pfannschmidt
2017-08-10 08:55:51 +02:00
committed by GitHub

View File

@@ -344,7 +344,7 @@ def unserialize_report(name, reportdict):
ReprTraceback
)
if reportdict['longrepr']:
if 'reprcrash' and 'reprtraceback' in reportdict['longrepr']:
if 'reprcrash' in reportdict['longrepr'] and 'reprtraceback' in reportdict['longrepr']:
reprtraceback = reportdict['longrepr']['reprtraceback']
reprcrash = reportdict['longrepr']['reprcrash']