remove unused function
This commit is contained in:
parent
23ce59a851
commit
81d30612e8
|
@ -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
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue