Code that doesn't compile is an antipattern

This commit is contained in:
trhr 2020-04-06 00:03:33 -05:00
parent 15f9e12a0c
commit b1398e106e

View file

@ -2116,7 +2116,8 @@ class DefaultCharacter(DefaultObject):
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
to support i18n for non-latin scripts, but as we (currently) have no bug reports requesting better