diff options
author | Ayrx <terrycwk1994@gmail.com> | 2014-02-25 10:39:29 +0800 |
---|---|---|
committer | Ayrx <terrycwk1994@gmail.com> | 2014-02-25 10:39:29 +0800 |
commit | 93da520fb9874faf5226aa45f6c087c21955c109 (patch) | |
tree | e4567954397697ca8df33246af57ebd17b2dd66b | |
parent | 1f8a1e801196280c4f7708a65e582f7e599b78c0 (diff) | |
download | cryptography-93da520fb9874faf5226aa45f6c087c21955c109.tar.gz cryptography-93da520fb9874faf5226aa45f6c087c21955c109.tar.bz2 cryptography-93da520fb9874faf5226aa45f6c087c21955c109.zip |
Fixed whitespace issue pointed out by flake8
-rw-r--r-- | cryptography/hazmat/primitives/twofactor/hotp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/primitives/twofactor/hotp.py b/cryptography/hazmat/primitives/twofactor/hotp.py index a6b01b5b..e806c7ef 100644 --- a/cryptography/hazmat/primitives/twofactor/hotp.py +++ b/cryptography/hazmat/primitives/twofactor/hotp.py @@ -54,7 +54,7 @@ class HOTP(object): ctx.update(struct.pack(">Q", counter)) hmac_value = ctx.finalize() - offset_bits = six.indexbytes(hmac_value, len(hmac_value)-1) & 0b1111 + offset_bits = six.indexbytes(hmac_value, len(hmac_value) - 1) & 0b1111 offset = int(offset_bits) p = hmac_value[offset:offset + 4] |