Fix exceptions.RecursiveGrouping not being formatted.

This commit is contained in:
voussoir 2017-03-10 15:33:45 -08:00
parent bff5ee9986
commit f797e3fb55

View file

@ -21,7 +21,6 @@ class WithFormat(EtiquetteException):
EtiquetteException.__init__(self, self.error_message) EtiquetteException.__init__(self, self.error_message)
# NO SUCH # NO SUCH
@with_error_type
class NoSuch(WithFormat): class NoSuch(WithFormat):
pass pass
@ -94,7 +93,7 @@ class EasyBakeError(EtiquetteException):
EtiquetteException.__init__(self) EtiquetteException.__init__(self)
@with_error_type @with_error_type
class RecursiveGrouping(EtiquetteException): class RecursiveGrouping(WithFormat):
error_message = '{group} is an ancestor of {member}.' error_message = '{group} is an ancestor of {member}.'
@with_error_type @with_error_type