Updated debug log
authorThierry Florac <tflorac@ulthar.net>
Fri, 06 Mar 2015 18:50:54 +0100
changeset 13 e84adc865c35
parent 12 88e572df4a82
child 14 a4cf46dc5634
Updated debug log
src/pyams_utils/adapter.py
--- a/src/pyams_utils/adapter.py	Fri Mar 06 18:50:25 2015 +0100
+++ b/src/pyams_utils/adapter.py	Fri Mar 06 18:50:54 2015 +0100
@@ -83,9 +83,9 @@
                     raise TypeError("Missing 'provided' argument")
 
             config = context.config.with_package(info.module)
-            logger.debug("Registering adapter {0} for {1} => {2}".format(str(ob),
-                                                                         str(adapts),
-                                                                         str(provides)))
+            logger.debug("Registering adapter {0} for {1} providing {2}".format(str(ob),
+                                                                                str(adapts),
+                                                                                str(provides)))
             config.registry.registerAdapter(ob, adapts, provides, settings.get('name', ''))
 
         info = self.venusian.attach(wrapped, callback, category='pyams_adapter',