projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3017062
)
Remove redundant Python 2.4 code
author
Hugo
<hugovk@users.noreply.github.com>
Mon, 14 May 2018 13:08:15 +0000
(16:08 +0300)
committer
Hugo
<hugovk@users.noreply.github.com>
Mon, 14 May 2018 13:08:15 +0000
(16:08 +0300)
tweepy/cache.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/cache.py
b/tweepy/cache.py
index 99b7065ba8cccc8491793dd5601fac398a024be1..8c287816605cd2aada669322c48c1c78e6b1716b 100644
(file)
--- a/
tweepy/cache.py
+++ b/
tweepy/cache.py
@@
-6,6
+6,7
@@
from __future__ import print_function
import time
import datetime
+import hashlib
import threading
import os
import logging
@@
-15,12
+16,6
@@
try:
except ImportError:
import pickle
-try:
- import hashlib
-except ImportError:
- # python 2.4
- import md5 as hashlib
-
try:
import fcntl
except ImportError: