From 9e6be3f977e3e5ecaaa4dd5854df17c331fd4a6e Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Wed, 20 Oct 2021 15:41:28 +0200 Subject: [PATCH] lib: Deprecate koji.listFaults Related: https://pagure.io/koji/issue/3071 --- koji/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/koji/__init__.py b/koji/__init__.py index bb014bcb..073eaef4 100644 --- a/koji/__init__.py +++ b/koji/__init__.py @@ -472,6 +472,7 @@ def listFaults(): name: the name of the exception desc: the description of the exception (docstring) """ + util.deprecated("method listFaults is deprecated and will be removed in 1.29") ret = [] for n, v in globals().items(): if isinstance(v, type(Exception)) and issubclass(v, GenericError):