remove name restiction

This commit is contained in:
Emmanuel Garette 2018-12-07 23:33:11 +01:00
parent 601c3fc54d
commit 10efcf877b
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ NAME_REGEXP = re.compile(r'^[a-zA-Z][a-zA-Z\d_-]*$')
def valid_name(name):
if not isinstance(name, str):
return False
return re.match(NAME_REGEXP, name) is not None
return True
# return re.match(NAME_REGEXP, name) is not None
#____________________________________________________________