suite.py: Fix typo in variable name used during exception

Fixes a possible double exception introduced in 0ffb4144

Change-Id: I44a30f51c23e6a57ccae3483c806c0ed25d2ecf9
This commit is contained in:
Pau Espin 2017-05-22 17:52:05 +02:00
parent 469316fae0
commit 374e8a0b26
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Test(log.Origin):
ftype = type(e).__name__
fmsg = repr(e) + '\n' + traceback.format_exc().rstrip()
if isinstance(e, resource.NoResourceExn):
msg += '\n' + 'Current resource state:\n' + repr(suite_run.reserved_resources)
fmsg += '\n' + 'Current resource state:\n' + repr(suite_run.reserved_resources)
self.set_fail(ftype, fmsg, False)
finally: