summaryrefslogtreecommitdiffstats
path: root/module/lib/beaker/crypto/util.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-06-28 15:57:48 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-06-28 20:23:46 +0200
commitd8f5e6d74b386045a451ed20a3c250204be8946e (patch)
treed6fea466ca287e8de33201d4d42b5b12d7c2f75b /module/lib/beaker/crypto/util.py
parent[Lib] Revert libraries to original status (remove all cosmetics optimizations) (diff)
downloadpyload-d8f5e6d74b386045a451ed20a3c250204be8946e.tar.xz
[Lib] Update beaker.py to version 1.6.4
Diffstat (limited to 'module/lib/beaker/crypto/util.py')
-rw-r--r--module/lib/beaker/crypto/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/lib/beaker/crypto/util.py b/module/lib/beaker/crypto/util.py
index d97e8ce6f..7f96ac856 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