Code that doesn't compile is an antipattern

This commit is contained in:
trhr 2020-04-06 00:03:33 -05:00
parent f95dd3f2aa
commit d61dc07796

View file

@ -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