Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Aug 11, 2023
1 parent 2af2405 commit 460c43c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion relenv/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import tarfile
import textwrap
import time
import urllib.error

# relenv package version
__version__ = "0.13.3"
Expand Down Expand Up @@ -356,6 +355,7 @@ def fetch_url(url, fp, backoff=3, timeout=30):
"""
# Late import so we do not import hashlib before runtime.bootstrap is called.
import urllib.request
import urllib.error

if backoff < 1:
backoff = 1
Expand Down
2 changes: 1 addition & 1 deletion relenv/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ def setup_openssl():
try:
_, directory = proc.stdout.split(":")
except ValueError:
debug(f"Unable to parse openssldir")
debug("Unable to parse openssldir")
return
path = pathlib.Path(directory.strip().strip('"'))
if not os.environ.get("SSL_CERT_DIR"):
Expand Down

0 comments on commit 460c43c

Please sign in to comment.