Fix string formatting bug
Change-Id: I2dc6e64879eafa5aeb7179c5067b6066d27893ec Closes-Bug: 1546123
This commit is contained in:
parent
fa7e2f0482
commit
f4f94e9b4b
|
@ -89,8 +89,8 @@ def wait_for_condition(condition, interval=1, timeout=40):
|
||||||
if result:
|
if result:
|
||||||
return result
|
return result
|
||||||
time.sleep(interval)
|
time.sleep(interval)
|
||||||
raise Exception("Timed out after %s seconds. Started " +
|
raise Exception(("Timed out after %s seconds. Started " +
|
||||||
"on %s and ended on %s" % (timeout, start_time, end_time))
|
"on %s and ended on %s") % (timeout, start_time, end_time))
|
||||||
|
|
||||||
|
|
||||||
def memoized(func):
|
def memoized(func):
|
||||||
|
|
Loading…
Reference in New Issue