mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-06-10 04:29:47 +00:00
8.0.2
Strip leading and trailing whitespaces from Gmail scopes (Closes #310)
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
8.0.2
|
||||
-----
|
||||
|
||||
- Strip leading and trailing whitespaces from Gmail scopes (Closes #310)
|
||||
|
||||
8.0.1
|
||||
-----
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ from parsedmarc.utils import is_outlook_msg, convert_outlook_msg
|
||||
from parsedmarc.utils import parse_email
|
||||
from parsedmarc.utils import timestamp_to_human, human_timestamp_to_datetime
|
||||
|
||||
__version__ = "8.0.1"
|
||||
__version__ = "8.0.2"
|
||||
|
||||
formatter = logging.Formatter(
|
||||
fmt='%(levelname)8s:%(filename)s:%(lineno)d:%(message)s',
|
||||
|
||||
+3
-1
@@ -639,7 +639,9 @@ def _main():
|
||||
gmail_api_config.getboolean("include_spam_trash", False)
|
||||
opts.gmail_api_scopes = \
|
||||
gmail_api_config.get("scopes",
|
||||
default_gmail_api_scope).split(',')
|
||||
default_gmail_api_scope)
|
||||
opts.gmail_api_scopes = \
|
||||
_str_to_list(opts.gmail_api_scopes)
|
||||
|
||||
logger.setLevel(logging.WARNING)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user