chg: Changed name to be displayed as warning and description

pull/168/head
chrisr3d 2020-10-27 11:19:05 +01:00
parent c9344af4c8
commit 8a629209f2
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{ {
"description": "Numbers that should never be attributed.", "description": "Numbers that cannot be attributed because they reserved for different purposes.",
"list": [ "list": [
"/((?:\\+|00)33?|0?)(19900|26191|35301|46571|53649|63998)([0-9]{4})/g", "/((?:\\+|00)33?|0?)(19900|26191|35301|46571|53649|63998)([0-9]{4})/g",
"/((?:\\+|00)33?|0?)(999)([0-9]{6})/g" "/((?:\\+|00)33?|0?)(999)([0-9]{6})/g"
@ -8,7 +8,7 @@
"phone-number", "phone-number",
"whois-registrant-phone" "whois-registrant-phone"
], ],
"name": "List of phone numbers that cannot be used.", "name": "Unattributed phone number.",
"type": "regex", "type": "regex",
"version": 20201027 "version": 20201027
} }

View File

@ -19,8 +19,8 @@ def generate_french_warninglist():
def process(warninglist_name): def process(warninglist_name):
description = { description = {
'description': 'Numbers that should never be attributed.', 'description': 'Numbers that cannot be attributed because they reserved for different purposes.',
'name': 'List of phone numbers that cannot be used.', 'name': 'Unattributed phone number.',
'matching_attributes': [ 'matching_attributes': [
'phone-number', 'phone-number',
'whois-registrant-phone' 'whois-registrant-phone'