From b9304183192860e5403dd797f56282d9a85a7b71 Mon Sep 17 00:00:00 2001 From: Hugo Date: Mon, 14 May 2018 16:08:15 +0300 Subject: [PATCH] Remove redundant Python 2.4 code --- tweepy/cache.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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: -- 2.25.1