diff options
Diffstat (limited to 'netlib')
-rw-r--r-- | netlib/version_check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/version_check.py b/netlib/version_check.py index 2081c410..5465c901 100644 --- a/netlib/version_check.py +++ b/netlib/version_check.py @@ -29,7 +29,7 @@ def version_check( file=fp ) sys.exit(1) - v = tuple([int(x) for x in OpenSSL.__version__.split(".")][:2]) + v = tuple(int(x) for x in OpenSSL.__version__.split(".")[:2]) if v < pyopenssl_min_version: print( "You are using an outdated version of pyOpenSSL:" |