Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
73d16229a958
Commit
f4e34f57
authored
Jul 13, 2021
by
Nicolas Chauvat
Browse files
fix bad merge
--HG-- branch : 3.30
parent
6fc932785d39
Pipeline
#68129
passed with stages
in 20 minutes and 29 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
cubicweb/debug.py
View file @
73d16229
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment