Reporters: fix 'perModuleEmail' support

Unfortunately, during the review process of commit 454259ed3 I made a typo and
notify-for-each-module argument is not parsed correctly.

Change-Id: Ia053dbd722800f536c347d58f9b9822e2e67868a
This commit is contained in:
Andrea Scarpino 2018-03-22 10:21:17 +01:00
parent efc5fbe0fd
commit a67c4cab87

View File

@ -70,7 +70,7 @@ def email(registry, xml_parent, data):
XML.SubElement(mailer, 'sendToIndividuals').text = str(
data.get('send-to-individuals', False)).lower()
XML.SubElement(mailer, 'perModuleEmail').text = str(
data.get('notify-for-every-module', True)).lower()
data.get('notify-for-each-module', True)).lower()
def findbugs(registry, xml_parent, data):