From 93da520fb9874faf5226aa45f6c087c21955c109 Mon Sep 17 00:00:00 2001 From: Ayrx Date: Tue, 25 Feb 2014 10:39:29 +0800 Subject: Fixed whitespace issue pointed out by flake8 --- cryptography/hazmat/primitives/twofactor/hotp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v1.2.3