#2406 Use a decorator to check if a project has an issue tracker
Merged by pingou. Opened by cverna.
cverna/pagure refactor_ui_issue  into  master

Download 2406.patch

This commit wraps the logic to check if a project has an
active issue tracker into a decorator to reduce code
duplication

Signed-off-by: Clement Verna cverna@tutanota.com

Nice, LGTM.

Can we modify this a little so that it can be used for API as well? API is currently using: https://pagure.io/pagure/blob/master/f/pagure/api/issue.py#_49 but, it would be better i guess if the same decorator is used

Yes I m planning to look at this but in another PR :monkey_face:

Nice :thumbsup:

Pull-Request has been merged by pingou

Metadata