Commit dc6a2ad5 authored by Vincent Pelletier's avatar Vincent Pelletier

update-hash: Make "filename =" optional by defaulting on section name.

Helps sections using ${:_buildout_section_name_} to avoid filename
parent 6dc9be4a
......@@ -90,6 +90,7 @@ def main():
hash_file_path = hash_name = None
if line is None:
hash_file_path, _ = line[1:].split(']', 1)
current_section = []
elif '=' in line:
assert current_section is not None, line
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