projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74f9425
)
Change Stream.on_warning notice parameter name to warning
author
Harmon
<Harmon758@gmail.com>
Mon, 12 Apr 2021 16:42:38 +0000
(11:42 -0500)
committer
Harmon
<Harmon758@gmail.com>
Mon, 12 Apr 2021 16:42:38 +0000
(11:42 -0500)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 52c650a467f2697a18b61c0fbc73d24ccd8cc4bb..ca52fc71db71922b884fd698bcfa59148bda3ba7 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-293,6
+293,6
@@
class Stream:
"""This is called when a user withheld content notice is received."""
log.debug("Received user withheld content notice: %s", notice)
- def on_warning(self,
notice
):
+ def on_warning(self,
warning
):
"""This is called when a stall warning message is received."""
- log.warning("Received stall warning: %s",
notice
)
+ log.warning("Received stall warning: %s",
warning
)