Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.recipe.cmmi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.recipe.cmmi
Commits
6b76cb03
Commit
6b76cb03
authored
Sep 23, 2021
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code
parent
9a2415db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
slapos/recipe/cmmi/__init__.py
slapos/recipe/cmmi/__init__.py
+0
-8
No files found.
slapos/recipe/cmmi/__init__.py
View file @
6b76cb03
...
...
@@ -8,7 +8,6 @@ import stat
import
subprocess
import
sys
from
hashlib
import
md5
import
pkg_resources
import
zc.buildout
from
zc.buildout
import
UserError
from
zc.buildout.buildout
import
bool_option
...
...
@@ -131,13 +130,6 @@ class Recipe(object):
def
update
(
self
):
pass
def
_compute_part_signatures
(
self
,
options
):
# Copy from zc.buildout.Buildout, compute recipe signature
recipe
,
entry
=
zc
.
buildout
.
buildout
.
_recipe
(
options
)
req
=
pkg_resources
.
Requirement
.
parse
(
recipe
)
sig
=
zc
.
buildout
.
buildout
.
_dists_sig
(
pkg_resources
.
working_set
.
resolve
([
req
]))
return
' '
.
join
(
sig
)
def
download_file
(
self
,
url
):
download
=
zc
.
buildout
.
download
.
Download
(
self
.
buildout
[
'buildout'
],
hash_name
=
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment