Skip to content
Snippets Groups Projects
Commit dba99426 authored by inso's avatar inso
Browse files

Clean a bit the code

parent d4019134
No related branches found
No related tags found
No related merge requests found
......@@ -249,7 +249,6 @@ class Identity(QObject):
if person_uid == self.uid:
return True
except errors.DuniterError as e:
if e.ucode in (errors.NO_MATCHING_IDENTITY,):
logging.debug("Lookup error : {0}".format(str(e)))
except NoPeerAvailable as e:
logging.debug(str(e))
......@@ -280,8 +279,6 @@ class Identity(QObject):
except errors.DuniterError as e:
if e.ucode in (errors.NO_MATCHING_IDENTITY, errors.NO_MEMBER_MATCHING_PUB_OR_UID):
pass
else:
raise
except NoPeerAvailable as e:
logging.debug(str(e))
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment