remove legacy warning on pointVersion

https://forums.ankiweb.net/t/anki-2-1-50-beta/15608/30
This commit is contained in:
Damien Elmes 2021-12-06 19:56:32 +10:00
parent 4571e78016
commit a377edda7e

View File

@ -307,6 +307,9 @@ def point_version() -> int:
return int(version.split(".")[-1])
# keep the legacy alias around without a deprecation warning for now
pointVersion = point_version
_deprecated_names = DeprecatedNamesMixinForModule(globals())
_deprecated_names.register_deprecated_aliases(
stripHTML=strip_html,