From 6eaa7ffcd7d1723006ee66a8d010634762b77fcc Mon Sep 17 00:00:00 2001 From: XnpioChV Date: Tue, 3 Dec 2024 18:29:51 -0500 Subject: [PATCH] style: string_to_version removed --- openedx/core/djangoapps/xblock/api.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/openedx/core/djangoapps/xblock/api.py b/openedx/core/djangoapps/xblock/api.py index a6f37dbd432e..35c05cd7b407 100644 --- a/openedx/core/djangoapps/xblock/api.py +++ b/openedx/core/djangoapps/xblock/api.py @@ -330,8 +330,3 @@ def get_handler_url( # can be called by the XBlock from python as well and in that case we don't # have access to the request. return site_root_url + path - - -def string_to_version(version: str | None) -> LatestVersion | int: - """ Convert from string to LatestVersion or integer version spec """ - return VersionConverter().to_python(version)