forked from github/pelican
preserve connection order in blinker
This commit is contained in:
parent
14f19474df
commit
8a8b952ecb
4 changed files with 34 additions and 6 deletions
|
|
@ -1,4 +1,8 @@
|
|||
from blinker import signal
|
||||
from blinker import signal, Signal
|
||||
from ordered_set import OrderedSet
|
||||
|
||||
# Signals will call functions in the order of connection, i.e. plugin order
|
||||
Signal.set_class = OrderedSet
|
||||
|
||||
# Run-level signals:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue