From 8a629209f23a29924fa0a1804495b56a9a243507 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Tue, 27 Oct 2020 11:19:05 +0100 Subject: [PATCH] chg: Changed name to be displayed as warning and description --- lists/phone_numbers/list.json | 4 ++-- tools/generate_phone_numbers.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lists/phone_numbers/list.json b/lists/phone_numbers/list.json index f5d9541..b9cdd76 100644 --- a/lists/phone_numbers/list.json +++ b/lists/phone_numbers/list.json @@ -1,5 +1,5 @@ { - "description": "Numbers that should never be attributed.", + "description": "Numbers that cannot be attributed because they reserved for different purposes.", "list": [ "/((?:\\+|00)33?|0?)(19900|26191|35301|46571|53649|63998)([0-9]{4})/g", "/((?:\\+|00)33?|0?)(999)([0-9]{6})/g" @@ -8,7 +8,7 @@ "phone-number", "whois-registrant-phone" ], - "name": "List of phone numbers that cannot be used.", + "name": "Unattributed phone number.", "type": "regex", "version": 20201027 } diff --git a/tools/generate_phone_numbers.py b/tools/generate_phone_numbers.py index 0936e3c..0dfece5 100644 --- a/tools/generate_phone_numbers.py +++ b/tools/generate_phone_numbers.py @@ -19,8 +19,8 @@ def generate_french_warninglist(): def process(warninglist_name): description = { - 'description': 'Numbers that should never be attributed.', - 'name': 'List of phone numbers that cannot be used.', + 'description': 'Numbers that cannot be attributed because they reserved for different purposes.', + 'name': 'Unattributed phone number.', 'matching_attributes': [ 'phone-number', 'whois-registrant-phone'