cubicweb/debug.py
changeset 12761 10b8352b0208
parent 12755 7df6c6048bc8
child 12764 fb97669efcaa
equal deleted inserted replaced
12760:d5ae5abd0876 12761:10b8352b0208
    21 logger = getLogger('cubicweb')
    21 logger = getLogger('cubicweb')
    22 
    22 
    23 
    23 
    24 SUBSCRIBERS = {
    24 SUBSCRIBERS = {
    25     "rql": [],
    25     "rql": [],
       
    26     "sql": [],
    26 }
    27 }
    27 
    28 
    28 
    29 
    29 def subscribe_to_debug_channel(channel, subscriber):
    30 def subscribe_to_debug_channel(channel, subscriber):
    30     if channel not in SUBSCRIBERS.keys():
    31     if channel not in SUBSCRIBERS.keys():