trivial: update comment to match role lookup (#34705)

This commit is contained in:
Frédéric Péters 2019-07-17 15:40:35 +02:00
parent e16fa979b1
commit c49c2fe590
1 changed files with 1 additions and 1 deletions

View File

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