trivial: update comment to match role lookup (#34705)
This commit is contained in:
parent
e16fa979b1
commit
c49c2fe590
|
@ -906,7 +906,7 @@ class XmlSerialisable(object):
|
|||
if value.startswith('_') or value == 'logged-users':
|
||||
return value
|
||||
|
||||
# if we import using id, only look at the role_id attribute
|
||||
# if we import using id, look at the role_id attribute
|
||||
if include_id and 'role_id' in elem.attrib:
|
||||
role_id = elem.attrib['role_id'].encode(charset)
|
||||
if Role.has_key(role_id):
|
||||
|
|
Loading…
Reference in New Issue