Commit 6dc9be4a authored by Vincent Pelletier's avatar Vincent Pelletier

update-hash: Remove magic value.

parent 4a8419df
......@@ -72,7 +72,7 @@ def main():
if line is None or line.startswith('['):
if hash_file_path is not None:
current_section.insert(
2,
len([x for x in current_section if x.strip()]),
'%s = %s%s' % (
hash_name,
HASH_MAP[hash_name](
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment