Fix error when creating TimeoutException

We need to have a valid format specifier. Currently this produces:

ValueError: unsupported format character 'w' (0x77) at index 50

[0] http://logs.openstack.org/94/561194/5/check/designate-base/401ff70/testr_results.html.gz

Change-Id: Ibb500c3ed26e23e7770901fa85e6e5bdbb15d741
This commit is contained in:
Jens Harbott 2018-04-16 09:36:00 +00:00
parent 8a3b02adbd
commit d8728b4927
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ def wait_for_recordset_status(client, zone_id, recordset_id, status):
if int(time.time()) - start >= client.build_timeout: if int(time.time()) - start >= client.build_timeout:
message = ('Recordset %(recordset_id)s failed to reach ' message = ('Recordset %(recordset_id)s failed to reach '
'status=%(status) within the required time ' 'status=%(status)s within the required time '
'(%(timeout)s s). Current ' '(%(timeout)s s). Current '
'status: %(status_curr)s' % 'status: %(status_curr)s' %
{'recordset_id': recordset_id, {'recordset_id': recordset_id,