Commit f4e34f57 authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files

fix bad merge

--HG--
branch : 3.30
parent 6fc932785d39
Pipeline #68129 passed with stages
in 20 minutes and 29 seconds
......@@ -30,6 +30,10 @@ SUBSCRIBERS = {
}
def debug_channel_has_subscribers(channel):
return len(SUBSCRIBERS.get(channel, [])) > 0
def subscribe_to_debug_channel(channel, subscriber):
"""
Allow to subscribe a callable to one of the debug channels.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment