From f797e3fb5555b4cc952d355c01ba43b084078423 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 10 Mar 2017 15:33:45 -0800 Subject: [PATCH] Fix exceptions.RecursiveGrouping not being formatted. --- etiquette/exceptions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etiquette/exceptions.py b/etiquette/exceptions.py index 46cc303..15a2972 100644 --- a/etiquette/exceptions.py +++ b/etiquette/exceptions.py @@ -21,7 +21,6 @@ class WithFormat(EtiquetteException): EtiquetteException.__init__(self, self.error_message) # NO SUCH -@with_error_type class NoSuch(WithFormat): pass @@ -94,7 +93,7 @@ class EasyBakeError(EtiquetteException): EtiquetteException.__init__(self) @with_error_type -class RecursiveGrouping(EtiquetteException): +class RecursiveGrouping(WithFormat): error_message = '{group} is an ancestor of {member}.' @with_error_type