aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-23 21:08:01 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-23 21:08:01 -0500
commit5553d576f3bc3f65b84de99a2561360f82fc110f (patch)
treedbf2750269c500d790fa46da6da4555009be2d7e /src
parenta5c6e9a89242bb42dbc98f29681d2f74aec12b02 (diff)
downloadcryptography-5553d576f3bc3f65b84de99a2561360f82fc110f.tar.gz
cryptography-5553d576f3bc3f65b84de99a2561360f82fc110f.tar.bz2
cryptography-5553d576f3bc3f65b84de99a2561360f82fc110f.zip
review feedback updates
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/x509.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py
index 43ece920..556e5a3c 100644
--- a/src/cryptography/x509.py
+++ b/src/cryptography/x509.py
@@ -177,9 +177,8 @@ class BasicConstraints(object):
raise ValueError("path_length must be None when ca is False")
if (
- path_length is not None and (not isinstance(
- path_length, six.integer_types
- ) or path_length < 0)
+ path_length is not None and
+ (not isinstance(path_length, six.integer_types) or path_length < 0)
):
raise TypeError(
"path_length must be a non-negative integer or None"