Skip to content
Snippets Groups Projects
Commit d6ba8ed2 authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Fix: Create fallback network records of new groups. (Redmine issue: #6227)

parent 035d2f85
No related branches found
No related tags found
No related merge requests found
...@@ -508,9 +508,6 @@ class MentatNetmngrScript(mentat.script.fetcher.FetcherScript): ...@@ -508,9 +508,6 @@ class MentatNetmngrScript(mentat.script.fetcher.FetcherScript):
checked_group_name = False checked_group_name = False
for network in [network for networks in wi_file_data[group_name].values() for network in networks]: for network in [network for networks in wi_file_data[group_name].values() for network in networks]:
# Do not create networks where fallback option is present.
if 'emails_fallback' in network:
continue
# If there are multiple emails in this abuse group or lowest severity is not low then save # If there are multiple emails in this abuse group or lowest severity is not low then save
# emails in the reporting settings. By default, if the group in the database doesn't have # emails in the reporting settings. By default, if the group in the database doesn't have
# any emails set in the reporting settings then the name of the abuse group is used as # any emails set in the reporting settings then the name of the abuse group is used as
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment