Skip to content

Commit

Permalink
Merge pull request #256 from jlausuch/obs_meta_values
Browse files Browse the repository at this point in the history
Allow entering custom meta variables
  • Loading branch information
foursixnine authored Jul 25, 2024
2 parents 814897d + 5a919e0 commit eba0073
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/scriptgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ def doFile(self, filename):
batches_string = root.attrib.get("batches", "default")
for b in batches_string.split("|"):
batch = self.doBatch(root, b)
if root.attrib.get("metavars"):
batch.meta_variables = root.attrib.get("metavars")
if batch:
for news in root.findall(".//news"):
if news.attrib.get("iso", ""):
Expand Down

0 comments on commit eba0073

Please sign in to comment.