Merge pull request #10720 from mscherer/fix_roles_requirements
Fix variable name
This commit is contained in:
commit
1aff837ab8
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class RoleRequirement(RoleDefinition):
|
||||||
ds["scm"] = scm
|
ds["scm"] = scm
|
||||||
ds["src"] = src
|
ds["src"] = src
|
||||||
|
|
||||||
if 'name' in role:
|
if 'name' in ds:
|
||||||
ds["role"] = ds["name"]
|
ds["role"] = ds["name"]
|
||||||
del ds["name"]
|
del ds["name"]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue