lib: Deprecate koji.listFaults
Related: https://pagure.io/koji/issue/3071
This commit is contained in:
parent
6f89e387a8
commit
9e6be3f977
1 changed files with 1 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue