Unnecessary elif after raise

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-08-23 12:52:46 +02:00
parent bf2b2283f5
commit de585a23b2
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -413,7 +413,7 @@ class XEP_0384(BasePlugin):
except (omemo.exceptions.TrustException,) as exn: except (omemo.exceptions.TrustException,) as exn:
if exn.problem == 'undecided': if exn.problem == 'undecided':
raise UndecidedException(exn.bare_jid, exn.device, exn.ik) raise UndecidedException(exn.bare_jid, exn.device, exn.ik)
elif exn.problem == 'untrusted': if exn.problem == 'untrusted':
raise UntrustedException(exn.bare_jid, exn.device, exn.ik) raise UntrustedException(exn.bare_jid, exn.device, exn.ik)
raise raise
finally: finally: