Commit 5aa56245 by Michael Scherer

Fix variable name

There is no 'role' variable, and given the test and code after, that's
likely a test on 'ds'
parent 61379a60
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment