From bbfa975e802566e52d9e6545ae9e42c02756506f Mon Sep 17 00:00:00 2001 From: Maxim Beder Date: Fri, 21 Oct 2022 16:23:13 +0200 Subject: [PATCH] refactor: remove unused assetstore exceptions --- xmodule/assetstore/assetmgr.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/xmodule/assetstore/assetmgr.py b/xmodule/assetstore/assetmgr.py index fb5e830bb2..4f50730d9d 100644 --- a/xmodule/assetstore/assetmgr.py +++ b/xmodule/assetstore/assetmgr.py @@ -16,27 +16,6 @@ Note: Hotfix (PLAT-734) No asset calls find_asset_metadata, and directly accesse from xmodule.contentstore.django import contentstore -class AssetException(Exception): - """ - Base exception class for all exceptions related to assets. - """ - pass # lint-amnesty, pylint: disable=unnecessary-pass - - -class AssetMetadataNotFound(AssetException): - """ - Thrown when no asset metadata is present in the course modulestore for the particular asset requested. - """ - pass # lint-amnesty, pylint: disable=unnecessary-pass - - -class AssetMetadataFoundTemporary(AssetException): - """ - TEMPORARY: Thrown if asset metadata is actually found in the course modulestore. - """ - pass # lint-amnesty, pylint: disable=unnecessary-pass - - class AssetManager: """ Manager for saving/loading course assets.