diff --git a/easybuild/easyblocks/o/openssl_wrapper.py b/easybuild/easyblocks/o/openssl_wrapper.py index f4e7e6dbf7..a7bf49e701 100644 --- a/easybuild/easyblocks/o/openssl_wrapper.py +++ b/easybuild/easyblocks/o/openssl_wrapper.py @@ -29,12 +29,7 @@ """ import os import re - -try: - from urllib.parse import urlparse -except ImportError: - # fallback for Python 2.7, should be removed for EasyBuild >= 5.0 - from urlparse import urlparse +from urllib.parse import urlparse from easybuild.tools import LooseVersion