projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d7fc98
)
Use super in TweepError initialization
author
Harmon
<Harmon758@gmail.com>
Sat, 4 May 2019 04:46:22 +0000
(23:46 -0500)
committer
Harmon
<Harmon758@gmail.com>
Sat, 4 May 2019 04:46:22 +0000
(23:46 -0500)
tweepy/error.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/error.py
b/tweepy/error.py
index f7d5894454ea0f138b8084f4b65f8482dac3ba53..165d049da820bca3817e738979008803e92b285a 100644
(file)
--- a/
tweepy/error.py
+++ b/
tweepy/error.py
@@
-13,7
+13,7
@@
class TweepError(Exception):
self.reason = six.text_type(reason)
self.response = response
self.api_code = api_code
-
Exception
.__init__(self, reason)
+
super(TweepError, self)
.__init__(self, reason)
def __str__(self):
return self.reason