Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
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
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
6dc9be4a
Commit
6dc9be4a
authored
Feb 27, 2017
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update-hash: Remove magic value.
parent
4a8419df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
update-hash
update-hash
+1
-1
No files found.
update-hash
View file @
6dc9be4a
...
@@ -72,7 +72,7 @@ def main():
...
@@ -72,7 +72,7 @@ def main():
if
line
is
None
or
line
.
startswith
(
'['
):
if
line
is
None
or
line
.
startswith
(
'['
):
if
hash_file_path
is
not
None
:
if
hash_file_path
is
not
None
:
current_section
.
insert
(
current_section
.
insert
(
2
,
len
([
x
for
x
in
current_section
if
x
.
strip
()])
,
'%s = %s%s'
%
(
'%s = %s%s'
%
(
hash_name
,
hash_name
,
HASH_MAP
[
hash_name
](
HASH_MAP
[
hash_name
](
...
...
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