snq must not be None

This commit is contained in:
Roland Hedberg
2013-09-20 08:55:54 +02:00
parent 7f91cefcdd
commit 5935a26dc9

View File

@@ -430,6 +430,9 @@ class Server(Entity):
except AttributeError:
snq = sp_entity_id
if not snq:
snq = sp_entity_id
_nids = self.ident.find_nameid(userid, sp_name_qualifier=snq)
# either none or one
if _nids: