This commit is contained in:
Sean Whalen
2022-12-23 20:08:00 -05:00
parent 70ff13bfae
commit f82445fa06
4 changed files with 12 additions and 2 deletions
+8
View File
@@ -1,6 +1,14 @@
Changelog
=========
8.4.0
-----
- Provide a warning when no file is located at the path specified by the `ip_db_path` option (based on PR #369 with improvements in grammar)
- Add `allow_unencrypted_storage` to possible `msgraph` settings. See documentation for details. (PR #375)
- Use the `check_timeout` value in the event of an IMAP connection error, instead of a static 5 second value (PR #377)
- Update the included DBIP IP to Country Lite database to the December 2022 release
8.3.2
-----
+1 -1
View File
@@ -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.3.2"
__version__ = "8.4.0"
logger.debug("parsedmarc v{0}".format(__version__))
BIN
View File
Binary file not shown.
+3 -1
View File
@@ -295,7 +295,9 @@ def get_ip_address_country(ip_address, db_path=None):
if db_path is not None:
if os.path.isfile(db_path) is False:
db_path = None
logger.warning("IP database Option contains no file. Use internal file")
logger.warning(f"No file exists at {db_path}. Falling back to an "
"included copy of the IPDB IP to Country "
"Lite database.")
if db_path is None:
for system_path in db_paths: