summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/handler/waiter.py
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/xmlstream/handler/waiter.py')
-rw-r--r--sleekxmpp/xmlstream/handler/waiter.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/sleekxmpp/xmlstream/handler/waiter.py b/sleekxmpp/xmlstream/handler/waiter.py
index 1e101ed3..80720226 100644
--- a/sleekxmpp/xmlstream/handler/waiter.py
+++ b/sleekxmpp/xmlstream/handler/waiter.py
@@ -25,11 +25,11 @@ class Waiter(BaseHandler):
waiter has timed out.
Methods:
- checkDelete -- Overrides BaseHandler.checkDelete
- prerun -- Overrides BaseHandler.prerun
- run -- Overrides BaseHandler.run
- wait -- Wait for a stanza to arrive and return it to
- an event handler.
+ check_delete -- Overrides BaseHandler.check_delete
+ prerun -- Overrides BaseHandler.prerun
+ run -- Overrides BaseHandler.run
+ wait -- Wait for a stanza to arrive and return it to
+ an event handler.
"""
def __init__(self, name, matcher, stream=None):
@@ -89,10 +89,10 @@ class Waiter(BaseHandler):
self.stream.removeHandler(self.name)
return stanza
- def checkDelete(self):
+ def check_delete(self):
"""
Always remove waiters after use.
- Overrides BaseHandler.checkDelete
+ Overrides BaseHandler.check_delete
"""
return True