Sfoglia il codice sorgente

Update email_fetcher.py

Bastien Sevajol 7 anni fa
parent
commit
2cf58dfb74
No account linked to committer's email
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      tracim/tracim/lib/email_fetcher.py

+ 4 - 2
tracim/tracim/lib/email_fetcher.py Vedi File

332
     def stop(self) -> None:
332
     def stop(self) -> None:
333
         self._is_active = False
333
         self._is_active = False
334
 
334
 
335
-    def _fetch(self, imapc: imapclient.IMAPClient) \
336
-            -> typing.List[MessageContainer]:
335
+    def _fetch(
336
+        self, 
337
+        imapc: imapclient.IMAPClient,
338
+    ) -> typing.List[MessageContainer]:
337
         """
339
         """
338
         Get news message from mailbox
340
         Get news message from mailbox
339
         :return: list of new mails
341
         :return: list of new mails