Skip to content
Snippets Groups Projects
Commit b9c90a35 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Allow undefined variables

parent 2544250c
No related branches found
No related tags found
No related merge requests found
...@@ -442,9 +442,9 @@ def parse_config(config): ...@@ -442,9 +442,9 @@ def parse_config(config):
if m: if m:
repo = Repo(root=os.path.realpath(os.path.dirname(config.name)), repo = Repo(root=os.path.realpath(os.path.dirname(config.name)),
name=m.group(1), name=m.group(1),
arch=variables['ARCH'], arch=variables.get('ARCH'),
basearch=variables['BASEARCH'], basearch=variables.get('BASEARCH'),
release=variables['RELEASE']) release=variables.get('RELEASE'))
result.append(repo) result.append(repo)
#print m.group(1) #print m.group(1)
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment