From 2c54c369b176f36f897d1a347375df7005b6d0fa Mon Sep 17 00:00:00 2001 From: Vincent Texier <vit@free.fr> Date: Sat, 16 Apr 2016 18:32:21 +0200 Subject: [PATCH] fix crash when no identity found --- src/sakia/core/registry/identity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sakia/core/registry/identity.py b/src/sakia/core/registry/identity.py index a1d2752a..8eb8e671 100644 --- a/src/sakia/core/registry/identity.py +++ b/src/sakia/core/registry/identity.py @@ -246,7 +246,7 @@ class Identity(QObject): if person_uid == self.uid: return True except errors.UcoinError as e: - if e.ucode in (errors.NO_MATCHING_IDENTITY): + if e.ucode in (errors.NO_MATCHING_IDENTITY, errors.NO_MEMBER_MATCHING_PUB_OR_UID): logging.debug("Lookup error : {0}".format(str(e))) except NoPeerAvailable as e: logging.debug(str(e)) -- GitLab