diff --git a/_modules/index.html b/_modules/index.html index 6dcbcd3..00fbda0 100644 --- a/_modules/index.html +++ b/_modules/index.html @@ -8,7 +8,7 @@ - Overview: module code — parsedmarc 6.1.0 documentation + Overview: module code — parsedmarc 6.1.1 documentation @@ -58,7 +58,7 @@
- 6.1.0 + 6.1.1
diff --git a/_modules/parsedmarc.html b/_modules/parsedmarc.html index 12b2392..0e2220f 100644 --- a/_modules/parsedmarc.html +++ b/_modules/parsedmarc.html @@ -8,7 +8,7 @@ - parsedmarc — parsedmarc 6.1.0 documentation + parsedmarc — parsedmarc 6.1.1 documentation @@ -58,7 +58,7 @@
- 6.1.0 + 6.1.1
@@ -185,7 +185,7 @@ from parsedmarc.utils import timestamp_to_human, human_timestamp_to_datetime from parsedmarc.utils import parse_email -__version__ = "6.1.0" +__version__ = "6.1.1" logging.basicConfig( format='%(levelname)8s:%(filename)s:%(lineno)d:' @@ -872,6 +872,8 @@ dns_timeout=dns_timeout) result = OrderedDict([("report_type", "aggregate"), ("report", aggregate_report)]) + return result + except (TypeError, ValueError, binascii.Error): pass @@ -910,9 +912,7 @@ if result is None: error = 'Message with subject "{0}" is ' \ 'not a valid DMARC report'.format(subject) - raise InvalidDMARCReport(error) - - return result + raise InvalidDMARCReport(error)
[docs]def parse_report_file(input_, nameservers=None, dns_timeout=2.0, diff --git a/_modules/parsedmarc/elastic.html b/_modules/parsedmarc/elastic.html index fbeef2b..4bedc1a 100644 --- a/_modules/parsedmarc/elastic.html +++ b/_modules/parsedmarc/elastic.html @@ -8,7 +8,7 @@ - parsedmarc.elastic — parsedmarc 6.1.0 documentation + parsedmarc.elastic — parsedmarc 6.1.1 documentation @@ -58,7 +58,7 @@
- 6.1.0 + 6.1.1
diff --git a/_modules/parsedmarc/splunk.html b/_modules/parsedmarc/splunk.html index 0d41b32..62a6bfc 100644 --- a/_modules/parsedmarc/splunk.html +++ b/_modules/parsedmarc/splunk.html @@ -8,7 +8,7 @@ - parsedmarc.splunk — parsedmarc 6.1.0 documentation + parsedmarc.splunk — parsedmarc 6.1.1 documentation @@ -58,7 +58,7 @@
- 6.1.0 + 6.1.1
diff --git a/_modules/parsedmarc/utils.html b/_modules/parsedmarc/utils.html index 3173d3d..a168afa 100644 --- a/_modules/parsedmarc/utils.html +++ b/_modules/parsedmarc/utils.html @@ -8,7 +8,7 @@ - parsedmarc.utils — parsedmarc 6.1.0 documentation + parsedmarc.utils — parsedmarc 6.1.1 documentation @@ -58,7 +58,7 @@
- 6.1.0 + 6.1.1
@@ -173,9 +173,9 @@ import geoip2.database import geoip2.errors import requests -import publicsuffix +import publicsuffix2 -__version__ = "6.1.0" +__version__ = "6.1.1" USER_AGENT = "Mozilla/5.0 ((0 {1})) parsedmarc/{2}".format( platform.system(), @@ -259,7 +259,7 @@ logger.warning( "Failed to download an updated PSL {0}".format(error)) with open(psl_path, encoding="utf-8") as psl_file: - psl = publicsuffix.PublicSuffixList(psl_file) + psl = publicsuffix2.PublicSuffixList(psl_file) return psl.get_public_suffix(domain)
diff --git a/_static/documentation_options.js b/_static/documentation_options.js index 459ec21..9002e9f 100644 --- a/_static/documentation_options.js +++ b/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '6.1.0', + VERSION: '6.1.1', LANGUAGE: 'None', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', diff --git a/genindex.html b/genindex.html index 0d832d4..be77e87 100644 --- a/genindex.html +++ b/genindex.html @@ -9,7 +9,7 @@ - Index — parsedmarc 6.1.0 documentation + Index — parsedmarc 6.1.1 documentation @@ -59,7 +59,7 @@
- 6.1.0 + 6.1.1
diff --git a/index.html b/index.html index a888ea0..88265bf 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ - parsedmarc documentation - Open source DMARC report analyzer and visualizer — parsedmarc 6.1.0 documentation + parsedmarc documentation - Open source DMARC report analyzer and visualizer — parsedmarc 6.1.1 documentation @@ -58,7 +58,7 @@
- 6.1.0 + 6.1.1
diff --git a/objects.inv b/objects.inv index b3b8896..d570bce 100644 Binary files a/objects.inv and b/objects.inv differ diff --git a/py-modindex.html b/py-modindex.html index 5b15b7c..759dc77 100644 --- a/py-modindex.html +++ b/py-modindex.html @@ -8,7 +8,7 @@ - Python Module Index — parsedmarc 6.1.0 documentation + Python Module Index — parsedmarc 6.1.1 documentation @@ -61,7 +61,7 @@
- 6.1.0 + 6.1.1
diff --git a/search.html b/search.html index 3dee0d1..9ad2010 100644 --- a/search.html +++ b/search.html @@ -8,7 +8,7 @@ - Search — parsedmarc 6.1.0 documentation + Search — parsedmarc 6.1.1 documentation @@ -59,7 +59,7 @@
- 6.1.0 + 6.1.1