aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2015-07-19 10:28:10 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2015-07-19 10:28:12 -0500
commit3934385ee9684439abf27589e14f9338f85ed656 (patch)
treee4131d763a72f0e32cb79f9cdad9fae79e78cc31 /src
parent8887a57bc4be41657d174c371798232b976dfa5b (diff)
downloadcryptography-3934385ee9684439abf27589e14f9338f85ed656.tar.gz
cryptography-3934385ee9684439abf27589e14f9338f85ed656.tar.bz2
cryptography-3934385ee9684439abf27589e14f9338f85ed656.zip
Remove unnecessary type check
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/x509.py2
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: