From 5553d576f3bc3f65b84de99a2561360f82fc110f Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Mon, 23 Mar 2015 21:08:01 -0500 Subject: review feedback updates --- src/cryptography/x509.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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" -- cgit v1.2.3