Code that doesn't compile is an antipattern
This commit is contained in:
parent
f95dd3f2aa
commit
d61dc07796
1 changed files with 2 additions and 1 deletions
|
|
@ -2116,7 +2116,8 @@ class DefaultCharacter(DefaultObject):
|
||||||
|
|
||||||
return obj, errors
|
return obj, errors
|
||||||
|
|
||||||
def _validate(self, key):
|
@classmethod
|
||||||
|
def _validate(cls, key):
|
||||||
"""
|
"""
|
||||||
Validate that character name is acceptable prior to creating. Note that this should be refactored
|
Validate that character name is acceptable prior to creating. Note that this should be refactored
|
||||||
to support i18n for non-latin scripts, but as we (currently) have no bug reports requesting better
|
to support i18n for non-latin scripts, but as we (currently) have no bug reports requesting better
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue