aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/x509/extensions.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cryptography/x509/extensions.py b/src/cryptography/x509/extensions.py
index 938a98e9..09d76501 100644
--- a/src/cryptography/x509/extensions.py
+++ b/src/cryptography/x509/extensions.py
@@ -85,7 +85,9 @@ class Extensions(object):
if isinstance(ext.value, extclass):
return ext
- raise ExtensionNotFound("No {0} extension was found".format(extclass), extclass)
+ raise ExtensionNotFound(
+ "No {0} extension was found".format(extclass), extclass
+ )
def __iter__(self):
return iter(self._extensions)