#3082 lib: Deprecate koji.listFaults
Merged 2 years ago by julian8628. Opened 2 years ago by tkopecek.
tkopecek/koji issue3071  into  master

file modified
+1
@@ -470,6 +470,7 @@ 

          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):

I think we should remove the note about it being "rewritten". It's going away because there is no test coverage and no users.

rebased onto db7c7f8

2 years ago

Fair enough, I've put there also the version.

Final removal #3083

Metadata Update from @julian8628:
- Pull-request tagged with: testing-ready

2 years ago

Metadata Update from @jobrauer:
- Pull-request tagged with: testing-done

2 years ago

Commit 537439c fixes this pull-request

Pull-Request has been merged by julian8628

2 years ago
Metadata