From 2d1f2cf61df8f507f9ed605d28c63af6e2ddc85a Mon Sep 17 00:00:00 2001 From: Tres Seaver <tseaver@palladion.com> Date: Tue, 31 May 2016 18:35:27 +0200 Subject: [PATCH] Remove import fossils. --- repoze/who/_auth_tkt.py | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/repoze/who/_auth_tkt.py b/repoze/who/_auth_tkt.py index 8e7d0df..b088064 100644 --- a/repoze/who/_auth_tkt.py +++ b/repoze/who/_auth_tkt.py @@ -36,12 +36,8 @@ makes it possible to use the same authentication process with non-Python code run under Apache. """ +import hashlib import time as time_mod -try: - import hashlib -except ImportError: - # mimic hashlib (will work for md5, fail for secure hashes) - import md5 as hashlib from repoze.who._compat import encodestring from repoze.who._compat import SimpleCookie -- Gitblit v1.9.3