Skip to content

Commit 48f18fc

Browse files
author
Roland Hedberg
committed
Make make_metadata care about the -v argument.
1 parent a8f357e commit 48f18fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/make_metadata.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
if fil.endswith(".py"):
5656
fil = fil[:-3]
5757
cnf = Config().load_file(fil, metadata_construction=True)
58+
if valid_for:
59+
cnf.valid_for = valid_for
5860
eds.append(entity_descriptor(cnf))
5961

6062
conf = Config()

0 commit comments

Comments
 (0)