projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c900db
)
Use unicode for Tweepy error messges.
author
Josh Roesslein
<jroesslein@gmail.com>
Sun, 17 Oct 2010 04:03:15 +0000
(23:03 -0500)
committer
Josh Roesslein
<jroesslein@gmail.com>
Sun, 17 Oct 2010 04:03:15 +0000
(23:03 -0500)
Closes #38
tweepy/error.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/error.py
b/tweepy/error.py
index f66f5d2aebb4a3cf254e4e4a556ec592b66fb8e5..8a760bb5d30827f23ed1a20e19a7f6ed9cbc5fc2 100644
(file)
--- a/
tweepy/error.py
+++ b/
tweepy/error.py
@@
-6,7
+6,7
@@
class TweepError(Exception):
"""Tweepy exception"""
def __init__(self, reason, response=None):
- self.reason =
str
(reason)
+ self.reason =
unicode
(reason)
self.response = response
def __str__(self):