mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-01-21 19:17:06 +01:00
document FakeShutdownEvent
This commit is contained in:
@@ -21,8 +21,14 @@ USER_AGENT = 'speedtest-cli/%s' % __version__
|
||||
|
||||
|
||||
class FakeShutdownEvent(object):
|
||||
"""Class to fake a threading.Event.isSet so that users of this module
|
||||
are not required to register their own threading.Event()
|
||||
|
||||
"""
|
||||
|
||||
@staticmethod
|
||||
def isSet():
|
||||
"Dummy method to always return false"""
|
||||
return False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user