Corrected error message
authorThierry Florac <tflorac@ulthar.net>
Sun, 18 Feb 2018 17:36:31 +0100
changeset 140 a10c588dc6a3
parent 139 6daed68877b3
child 141 48c64f62155e
Corrected error message
src/pyams_utils/adapter.py
--- a/src/pyams_utils/adapter.py	Sun Feb 18 17:34:42 2018 +0100
+++ b/src/pyams_utils/adapter.py	Sun Feb 18 17:36:31 2018 +0100
@@ -105,7 +105,7 @@
                 if len(intfs) == 1:
                     provides = intfs[0]
                 if provides is None:
-                    raise TypeError("Missing 'provided' argument")
+                    raise TypeError("Missing 'provides' argument")
 
             config = context.config.with_package(info.module)
             logger.debug("Registering adapter {0} for {1} providing {2}".format(str(ob),