From d2bbb2c2bc9b84d5a9c65c45c23d78477c67ab60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 16 Feb 2020 16:46:06 +0100 Subject: [PATCH] Add some more docstrings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio_plugins/omemo/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/poezio_plugins/omemo/__init__.py b/poezio_plugins/omemo/__init__.py index 05e4a4c..7b62291 100644 --- a/poezio_plugins/omemo/__init__.py +++ b/poezio_plugins/omemo/__init__.py @@ -83,9 +83,11 @@ class Plugin(E2EEPlugin): ) def display_error(self, txt) -> None: + """Poezio logger Helper""" self.api.information(txt, 'Error') def get_fingerprints(self, jid: JID) -> List[str]: + """Return fingerprints for the provided JID""" devices = self.core.xmpp['xep_0384'].get_trust_for_jid(jid) # XXX: What to do with did -> None entries?