Fix string formatting bug

Change-Id: I2dc6e64879eafa5aeb7179c5067b6066d27893ec
Closes-Bug: 1546123
This commit is contained in:
Corey O'Brien 2016-02-16 09:41:16 -05:00
parent fa7e2f0482
commit f4f94e9b4b
1 changed files with 2 additions and 2 deletions

View File

@ -89,8 +89,8 @@ def wait_for_condition(condition, interval=1, timeout=40):
if result:
return result
time.sleep(interval)
raise Exception("Timed out after %s seconds. Started " +
"on %s and ended on %s" % (timeout, start_time, end_time))
raise Exception(("Timed out after %s seconds. Started " +
"on %s and ended on %s") % (timeout, start_time, end_time))
def memoized(func):