fix function name

This commit is contained in:
Yann Leboulanger 2009-04-06 13:05:03 +00:00
parent 1c336ede9f
commit a0d0a9b56c
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class IdleMock:
Returns True if event was set, False on timeout
'''
self._event.wait(IDLEMOCK_TIMEOUT)
if self._event.is_set():
if self._event.isSet():
self._event.clear()
return True
else: