From d63821daba2002b8c455777748007f7198d3d3bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Barrois?= Date: Fri, 15 Mar 2013 01:08:00 +0100 Subject: Remove unused constants. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaƫl Barrois --- factory/base.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/factory/base.py b/factory/base.py index 8bb6d95..25d7a14 100644 --- a/factory/base.py +++ b/factory/base.py @@ -120,12 +120,6 @@ class BaseFactoryMetaClass(type): class FactoryMetaClass(BaseFactoryMetaClass): """Factory metaclass for handling class association and ordered declarations.""" - ERROR_MESSAGE = """Could not determine what class this factory is for. - Use the {0} attribute to specify a class.""" - ERROR_MESSAGE_AUTODISCOVERY = ERROR_MESSAGE + """ - Also, autodiscovery failed using the name '{1}' - based on the Factory name '{2}' in {3}.""" - @classmethod def _discover_associated_class(cls, class_name, attrs, inherited=None): """Try to find the class associated with this factory. -- cgit v1.2.3