diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2022-11-04 12:16:54 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2023-05-25 10:55:20 +0200 |
commit | d99b97701f9bd66022ff0511207aa7d0dab3ac53 (patch) | |
tree | 0ff5f7dccf7d4da27e355c10071f2d7826b52f99 | |
parent | f4260cca57681297646f3aa62e662b34f37ed2b7 (diff) | |
download | pygn-d99b97701f9bd66022ff0511207aa7d0dab3ac53.tar.gz |
Tiny cleanups
-rw-r--r-- | mail2news.py | 2 | ||||
-rw-r--r-- | news2mail.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mail2news.py b/mail2news.py index 5f9d7a7..b19b619 100644 --- a/mail2news.py +++ b/mail2news.py @@ -109,7 +109,7 @@ class mail2news(object): self.message['In-Reply-To']) # if found, keep first element that seems a Msg-ID. - if(ref and len(ref)): + if (ref and len(ref)): self.message['References'] = '%s\n' % ref[0] except KeyError as message: diff --git a/news2mail.py b/news2mail.py index b63df46..b9eaead 100644 --- a/news2mail.py +++ b/news2mail.py @@ -26,11 +26,11 @@ from __future__ import absolute_import from __future__ import print_function from collections import OrderedDict import email -from mail2news import VERSION, DESC import smtplib from socket import gethostbyaddr, gethostname import sys import time +from mail2news import VERSION, DESC # logging.basicConfig(level=logging.DEBUG) |