From 58efb054bdfa09c6bade394585435d447d834b26 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 28 Sep 2010 21:05:18 +0200 Subject: [PATCH] import hmac where it needs to be. Fixes #5948 --- src/common/connection_handlers.py | 1 - src/common/connection_handlers_events.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 17a9b33dd..b0a1ae75c 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -33,7 +33,6 @@ import base64 import sys import operator import hashlib -import hmac from time import (altzone, daylight, gmtime, localtime, mktime, strftime, time as time_time, timezone, tzname) diff --git a/src/common/connection_handlers_events.py b/src/common/connection_handlers_events.py index 4811051be..830de4844 100644 --- a/src/common/connection_handlers_events.py +++ b/src/common/connection_handlers_events.py @@ -22,6 +22,7 @@ import datetime import sys from time import (localtime, time as time_time) from calendar import timegm +import hmac from common import nec from common import helpers