commit | 3934385ee9684439abf27589e14f9338f85ed656 | [log] [tgz] |
---|---|---|
author | Ian Cordasco <graffatcolmingov@gmail.com> | Sun Jul 19 10:28:10 2015 -0500 |
committer | Ian Cordasco <graffatcolmingov@gmail.com> | Sun Jul 19 10:28:12 2015 -0500 |
tree | e4131d763a72f0e32cb79f9cdad9fae79e78cc31 | |
parent | 8887a57bc4be41657d174c371798232b976dfa5b [diff] |
Remove unnecessary type check
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py index e73721b..6f7aeee 100644 --- a/src/cryptography/x509.py +++ b/src/cryptography/x509.py
@@ -1728,8 +1728,6 @@ ) else: raise NotImplementedError('Unsupported X.509 extension.') - if not isinstance(extension, Extension): - raise TypeError('Expecting x509.Extension object.') # TODO: This is quadratic in the number of extensions for e in self._extensions: