0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00

Rotate deprecation warning classes

This commit is contained in:
Matt Westcott 2023-02-09 19:11:47 +00:00
parent a634045b6c
commit a78e80e9c6

View File

@ -2,14 +2,14 @@ import warnings
from importlib import import_module from importlib import import_module
class RemovedInWagtail50Warning(DeprecationWarning): class RemovedInWagtail60Warning(DeprecationWarning):
pass pass
removed_in_next_version_warning = RemovedInWagtail50Warning removed_in_next_version_warning = RemovedInWagtail60Warning
class RemovedInWagtail60Warning(PendingDeprecationWarning): class RemovedInWagtail70Warning(PendingDeprecationWarning):
pass pass