6.3.2 - Fix the monthly_indexes option in the elastocsearch configuration section

This commit is contained in:
Sean Whalen
2019-04-11 15:46:33 -04:00
parent 06371dfe9b
commit d4e8974853
4 changed files with 9 additions and 4 deletions
+5
View File
@@ -1,3 +1,8 @@
6.3.2
-----
- Fix the `monthly_indexes` option in the `elastocsearch` configuration section
6.3.1
-----
+1 -1
View File
@@ -38,7 +38,7 @@ from parsedmarc.utils import is_outlook_msg, convert_outlook_msg
from parsedmarc.utils import timestamp_to_human, human_timestamp_to_datetime
from parsedmarc.utils import parse_email
__version__ = "6.3.1"
__version__ = "6.3.2"
logging.basicConfig(
format='%(levelname)8s:%(filename)s:%(lineno)d:'
+2 -2
View File
@@ -307,8 +307,8 @@ def _main():
opts.elasticsearch_index_suffix = elasticsearch_config[
"index_suffix"]
if "monthly_indexes" in elasticsearch_config:
opts.elasticsearch_monthly_indexes = elasticsearch_config[
"monthly_indexes"]
monthly = elasticsearch_config.getboolean("monthly_indexes")
opts.elasticsearch_monthly_indexes = monthly
if "ssl" in elasticsearch_config:
opts.elasticsearch_ssl = elasticsearch_config.getboolean(
"ssl")
+1 -1
View File
@@ -14,7 +14,7 @@ from setuptools import setup
from codecs import open
from os import path
__version__ = "6.3.1"
__version__ = "6.3.2"
description = "A Python package and CLI for parsing aggregate and " \
"forensic DMARC reports"