From b8942672378fccc7d557dfc2e40a4d90aecf7a0d Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 28 Jun 2014 15:53:29 +0200 Subject: [Lib] Revert libraries to original status (remove all cosmetics optimizations) --- module/lib/beaker/crypto/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/lib/beaker/crypto/util.py') diff --git a/module/lib/beaker/crypto/util.py b/module/lib/beaker/crypto/util.py index 7f96ac856..d97e8ce6f 100644 --- a/module/lib/beaker/crypto/util.py +++ b/module/lib/beaker/crypto/util.py @@ -6,9 +6,9 @@ try: # Use PyCrypto (if available) from Crypto.Hash import HMAC as hmac, SHA as hmac_sha1 sha1 = hmac_sha1.new - + except ImportError: - + # PyCrypto not available. Use the Python standard library. import hmac -- cgit v1.2.3