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:
Michael Scherer 2015-04-15 00:58:11 -04:00
parent 61379a609b
commit 5aa56245d5

View file

@ -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: