# HG changeset patch # User Thierry Florac # Date 1547803353 -3600 # Node ID 9bbb78a1efa92f745a0e8679883325c077fb877b # Parent 903c129e457213b3494c8b8a23fc9d9c27d56eb1 Updated messages diff -r 903c129e4572 -r 9bbb78a1efa9 src/pyams_viewlet/viewlet.py --- 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_']