equal
deleted
inserted
replaced
249 |
249 |
250 def call(self): |
250 def call(self): |
251 raise NotImplementedError |
251 raise NotImplementedError |
252 |
252 |
253 class SystemHook(Hook): |
253 class SystemHook(Hook): |
254 accepts = ('',) |
254 accepts = () |
255 |
255 |
256 from logging import getLogger |
256 from logging import getLogger |
257 from cubicweb import set_log_methods |
257 from cubicweb import set_log_methods |
258 set_log_methods(HooksManager, getLogger('cubicweb.hooksmanager')) |
258 set_log_methods(HooksManager, getLogger('cubicweb.hooksmanager')) |
259 set_log_methods(Hook, getLogger('cubicweb.hooks')) |
259 set_log_methods(Hook, getLogger('cubicweb.hooks')) |