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
539e1112
Commit
539e1112
authored
Apr 15, 2020
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless '_profile_base_location_' entry from shared signature
The value was always '${:_profile_base_location_}'
parent
09e68ba5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
slapos/recipe/cmmi/__init__.py
slapos/recipe/cmmi/__init__.py
+6
-4
No files found.
slapos/recipe/cmmi/__init__.py
View file @
539e1112
...
@@ -48,9 +48,11 @@ class Recipe(object):
...
@@ -48,9 +48,11 @@ class Recipe(object):
buildout_directory
=
buildout
[
'buildout'
][
'directory'
]
buildout_directory
=
buildout
[
'buildout'
][
'directory'
]
profile_base_location
=
options
.
get
(
'_profile_base_location_'
,
''
)
profile_base_location
=
options
.
get
(
'_profile_base_location_'
,
''
)
for
k
,
v
in
sorted
(
options
.
items
()):
for
k
,
v
in
sorted
(
options
.
items
()):
if
k
!=
'_profile_base_location_'
:
# Key not vary on profile base location
# Key not vary on profile base location
if
profile_base_location
:
if
profile_base_location
:
v
=
v
.
replace
(
profile_base_location
,
'${:_profile_base_location_}'
)
v
=
v
.
replace
(
profile_base_location
,
'${:_profile_base_location_}'
)
self
.
_signature
.
update
(
k
,
v
)
self
.
_signature
.
update
(
k
,
v
)
signature_digest
=
self
.
_signature
.
hexdigest
()
signature_digest
=
self
.
_signature
.
hexdigest
()
...
...
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