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.build
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Leymonerie
slapos.recipe.build
Commits
b275ec90
Commit
b275ec90
authored
Dec 09, 2021
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shared: fix trailing whitespace in signature file on Python 2
parent
07c7eb8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
slapos/recipe/__init__.py
slapos/recipe/__init__.py
+3
-1
No files found.
slapos/recipe/__init__.py
View file @
b275ec90
...
...
@@ -105,7 +105,9 @@ class Shared(object):
if
profile_base_location
else
v
)
for
k
,
v
in
options
.
items
()
if
k
!=
'_profile_base_location_'
},
ensure_ascii
=
False
,
indent
=
2
,
sort_keys
=
True
)
},
ensure_ascii
=
False
,
indent
=
2
,
sort_keys
=
True
,
# BBB: Python 2 ( https://bugs.python.org/issue16333 )
separators
=
(
','
,
': '
))
if
not
isinstance
(
signature
,
bytes
):
# BBB: Python 3
signature
=
signature
.
encode
()
digest
=
md5
(
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