mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 1103956 - Remove explicit type checking from Wait class. r=atolfsen
This commit is contained in:
parent
2dcbb9a490
commit
ac952c506b
@ -125,7 +125,7 @@ class Wait(object):
|
||||
except self.exceptions as e:
|
||||
last_exc = sys.exc_info()
|
||||
|
||||
if isinstance(rv, bool) and not rv:
|
||||
if not rv:
|
||||
self.clock.sleep(self.interval)
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user