Skip to content

Commit

Permalink
support Python 2 in openssl_wrapper.py
Browse files Browse the repository at this point in the history
At least for a short time
  • Loading branch information
branfosj authored Jun 17, 2024
1 parent 10e9a62 commit e6ca241
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion easybuild/easyblocks/o/openssl_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
import os
import re

from urllib.parse import urlparse
# support python2
try:
from urllib.parse import urlparse
except ImportError:
from urlparse import urlparse

from easybuild.tools import LooseVersion

Expand Down

0 comments on commit e6ca241

Please sign in to comment.