diff options
author | Ian Cordasco <graffatcolmingov@gmail.com> | 2015-07-19 10:28:10 -0500 |
---|---|---|
committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2015-07-19 10:28:12 -0500 |
commit | 3934385ee9684439abf27589e14f9338f85ed656 (patch) | |
tree | e4131d763a72f0e32cb79f9cdad9fae79e78cc31 | |
parent | 8887a57bc4be41657d174c371798232b976dfa5b (diff) | |
download | cryptography-3934385ee9684439abf27589e14f9338f85ed656.tar.gz cryptography-3934385ee9684439abf27589e14f9338f85ed656.tar.bz2 cryptography-3934385ee9684439abf27589e14f9338f85ed656.zip |
Remove unnecessary type check
-rw-r--r-- | src/cryptography/x509.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py index e73721b5..6f7aeeed 100644 --- a/src/cryptography/x509.py +++ b/src/cryptography/x509.py @@ -1728,8 +1728,6 @@ class CertificateBuilder(object): ) 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: |