remove unused function

This commit is contained in:
Emmanuel Garette 2020-12-24 15:31:30 +01:00
parent 23ce59a851
commit 81d30612e8
1 changed files with 0 additions and 5 deletions

View File

@ -5,11 +5,6 @@ from unicodedata import normalize, combining
from .i18n import _ from .i18n import _
def valid_name(name: str) -> None:
if '.' in name:
raise ValueError(_(f'"{name}" is a forbidden variable or family name, dot is not allowed'))
def normalize_family(family_name: str) -> str: def normalize_family(family_name: str) -> str:
"""replace space, accent, uppercase, ... by valid character """replace space, accent, uppercase, ... by valid character
""" """