mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Fix #492 -- Force deterministic ordering of some signals
This commit is contained in:
@@ -50,7 +50,7 @@ class EventPluginSignal(django.dispatch.Signal):
|
||||
if not hasattr(app, 'compatibility_errors') or not app.compatibility_errors:
|
||||
response = receiver(signal=self, sender=sender, **named)
|
||||
responses.append((receiver, response))
|
||||
return responses
|
||||
return sorted(responses, key=lambda r: (receiver.__module__, receiver.__name__))
|
||||
|
||||
|
||||
class DeprecatedSignal(django.dispatch.Signal):
|
||||
|
||||
Reference in New Issue
Block a user