selectors.py
branchtls-sprint
changeset 1694 d7990e3478b2
parent 1503 5cc3afa14e4b
child 1784 f0fb914e57db
--- a/selectors.py	Tue May 05 17:26:21 2009 +0200
+++ b/selectors.py	Tue May 05 18:05:24 2009 +0200
@@ -1111,7 +1111,8 @@
     def plug_selector(cls, vreg):
         cls = registered(cls, vreg)
         if getattr(cls, 'accepts', None):
-            warn('use "implements("EntityType", IFace)" instead of using accepts',
+            warn('use "implements("EntityType", IFace)" instead of using accepts on %s'
+                 % cls,
                  DeprecationWarning)
             cls.__select__ &= implements(*cls.accepts)
         return cls