From: Hugo Date: Mon, 14 May 2018 13:08:15 +0000 (+0300) Subject: Remove redundant Python 2.4 code X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b9304183192860e5403dd797f56282d9a85a7b71;p=tweepy.git Remove redundant Python 2.4 code --- diff --git a/tweepy/cache.py b/tweepy/cache.py index 99b7065..8c28781 100644 --- 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: