# HG changeset patch # User Aurelien Campeas # Date 1291977457 -3600 # Node ID d2d7a5d9164dddb9ca304d9dd331f41ba20bb128 # Parent e03d427209cbf9c409bd6546d2a79e50419720b0 [web/components] fix typo in warning diff -r e03d427209cb -r d2d7a5d9164d web/component.py --- a/web/component.py Fri Dec 10 15:47:09 2010 +0100 +++ b/web/component.py Fri Dec 10 11:37:37 2010 +0100 @@ -234,7 +234,7 @@ # argument def render(self, w, **kwargs): if hasattr(self, 'call'): - warn('[3.10] should not anymore implements call on %s, see new CtxComponent api' + warn('[3.10] should not anymore implement call on %s, see new CtxComponent api' % self.__class__, DeprecationWarning) self.w = w def wview(__vid, rset=None, __fallback_vid=None, **kwargs):