aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-19 17:03:35 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-19 17:03:35 -0800
commit51cd5a1534fe4d9f84563f09cf95fb4a547cf143 (patch)
treef06f44e973c202a4a56010863bf136fe87a511e1
parent18f2c8f5da97e430387a78d6e7fe20de1c1e6ada (diff)
downloadcryptography-51cd5a1534fe4d9f84563f09cf95fb4a547cf143.tar.gz
cryptography-51cd5a1534fe4d9f84563f09cf95fb4a547cf143.tar.bz2
cryptography-51cd5a1534fe4d9f84563f09cf95fb4a547cf143.zip
flake8
-rw-r--r--cryptography/hazmat/primitives/ciphers/modes.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cryptography/hazmat/primitives/ciphers/modes.py b/cryptography/hazmat/primitives/ciphers/modes.py
index f357dcf7..63fa163c 100644
--- a/cryptography/hazmat/primitives/ciphers/modes.py
+++ b/cryptography/hazmat/primitives/ciphers/modes.py
@@ -78,7 +78,6 @@ class CTR(object):
def __init__(self, nonce):
self.nonce = nonce
-
def validate_for_algorithm(self, algorithm):
if len(self.nonce) * 8 != algorithm.block_size:
raise ValueError("Invalid nonce size ({0}) for {1}".format(