Skip to content
Snippets Groups Projects
Commit 1631e12e authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[bootstrap] Import hashlib globally

parent 7b3b0940
No related branches found
No related tags found
1 merge request!281Fixes recursive directory upload with checksumming
Pipeline #59615 failed
......@@ -5,6 +5,7 @@
"""Bootstraps a new miniconda installation and prepares it for development."""
import glob
import hashlib
import logging
import os
import platform
......@@ -235,7 +236,6 @@ def ensure_miniconda_sh():
if os.path.exists("miniconda.sh"):
logger.info("(check) miniconda.sh sha256 (== %s?)", sha256)
import hashlib
actual_sha256 = hashlib.sha256(
open("miniconda.sh", "rb").read()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment