Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.devtools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.devtools
Commits
1631e12e
Commit
1631e12e
authored
2 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[bootstrap] Import hashlib globally
parent
7b3b0940
No related branches found
No related tags found
1 merge request
!281
Fixes recursive directory upload with checksumming
Pipeline
#59615
failed
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/devtools/bootstrap.py
+1
-1
1 addition, 1 deletion
bob/devtools/bootstrap.py
with
1 addition
and
1 deletion
bob/devtools/bootstrap.py
+
1
−
1
View file @
1631e12e
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment