--- a/src/pyams_viewlet/viewlet.py Fri Dec 28 10:53:22 2018 +0100
+++ b/src/pyams_viewlet/viewlet.py Fri Jan 18 10:22:33 2019 +0100
@@ -86,7 +86,7 @@
def __init__(self, **settings):
if not settings.get('name'):
- raise ConfigurationError("You must provide a name for a Viewlet")
+ raise ConfigurationError("You must provide a name for a content provider")
if 'for_' in settings:
if settings.get('context') is None:
settings['context'] = settings['for_']
@@ -172,7 +172,7 @@
def __init__(self, **settings):
if not settings.get('name'):
- raise ConfigurationError("You must provide a name for a Viewlet")
+ raise ConfigurationError("You must provide a name for a viewlet")
if 'for_' in settings:
if settings.get('context') is None:
settings['context'] = settings['for_']