Fix variable name
There is no 'role' variable, and given the test and code after, that's likely a test on 'ds'
This commit is contained in:
parent
61379a609b
commit
5aa56245d5
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class RoleRequirement(RoleDefinition):
|
|||
ds["scm"] = scm
|
||||
ds["src"] = src
|
||||
|
||||
if 'name' in role:
|
||||
if 'name' in ds:
|
||||
ds["role"] = ds["name"]
|
||||
del ds["name"]
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue