PEP 8 fix

This commit is contained in:
Sean Whalen
2018-10-10 21:14:54 -04:00
parent cff1cede46
commit ab37f7ac5c
3 changed files with 23 additions and 8 deletions
+12 -5
View File
@@ -13,7 +13,7 @@ parsedmarc
``parsedmarc`` is a Python module and CLI utility for parsing DMARC reports.
When used with Elasticsearch and Kibana (or Splunk), it works as a self-hosted
open source alternative to commercial DMARC report processing services such
as Agari, Dmarcian, and OnDMARC.
as Agari, Dmarcian, OnDMARC, ProofPoint Email Fraud Defense.
Features
========
@@ -25,13 +25,13 @@ Features
* Consistent data structures
* Simple JSON and/or CSV output
* Optionally email the results
* Optionally send the results to Elasticsearch and/or Splunk, for use with
premade dashboards
* Optionally send the results to Elasticsearch and/or Splunk, for use with premade dashboards
* Optionally send reports to Apache Kafka
Resources
=========
* `Demystifying DMARC`_
* `Demystifying DMARC`_ - A complete guide to SPF, DKIM, and DMARC
CLI help
========
@@ -135,7 +135,14 @@ SPF and DMARC record validation
===============================
If you are looking for SPF and DMARC record validation and parsing,
check out the sister project, `checkdmarc <https://domainaware.github.io/checkdmarc/>`_.
check out the sister project,
`checkdmarc <https://domainaware.github.io/checkdmarc/>`_.
Lookalike domains
=================
DMARC protects against domain spoofing, not lookalike domains. for open source
lookalike domain monitoring, check out `DomainAware <https://github.com/seanthegeek/domainaware>`_.
Sample aggregate report output
==============================
+10 -3
View File
@@ -18,7 +18,7 @@ parsedmarc documentation - Open source DMARC report analyzer and visualizer
``parsedmarc`` is a Python module and CLI utility for parsing DMARC reports.
When used with Elasticsearch and Kibana (or Splunk), it works as a self-hosted
open source alternative to commercial DMARC report processing services such
as Agari, Dmarcian, and OnDMARC.
as Agari, Dmarcian, OnDMARC, ProofPoint Email Fraud Defense.
Features
========
@@ -32,12 +32,12 @@ Features
* Optionally email the results
* Optionally send the results to Elasticsearch and/or Splunk, for use with
premade dashboards
* Optionally send reports to Apache Kafka
Resources
=========
* `Demystifying DMARC`_
* `Demystifying DMARC`_ - A complete guide to SPF, DKIM, and DMARC
CLI help
@@ -145,6 +145,13 @@ If you are looking for SPF and DMARC record validation and parsing,
check out the sister project,
`checkdmarc <https://domainaware.github.io/checkdmarc/>`_.
SPF and DMARC record validation
===============================
If you are looking for SPF and DMARC record validation and parsing,
check out the sister project,
`checkdmarc <https://domainaware.github.io/checkdmarc/>`_.
Sample aggregate report output
==============================
+1
View File
@@ -9,6 +9,7 @@ from kafka.errors import NoBrokersAvailable, UnknownTopicOrPartitionError
logger = logging.getLogger("parsedmarc")
class KafkaError(RuntimeError):
"""Raised when a Kafka error occurs"""