From db7c7f81aa26a45f6edfefbe42be635f1f6fdf79 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Oct 20 2021 13:47:03 +0000 Subject: lib: Deprecate koji.listFaults Related: https://pagure.io/koji/issue/3071 --- diff --git a/koji/__init__.py b/koji/__init__.py index 139825f..65a7d09 100644 --- a/koji/__init__.py +++ b/koji/__init__.py @@ -470,6 +470,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):