Fix variable name

There is no 'role' variable, and given the test and code after, that's
likely a test on 'ds'
pull/10720/head
Michael Scherer 10 years ago
parent 61379a609b
commit 5aa56245d5

@ -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…
Cancel
Save