#2 Replace runnecessary regex with str.endswith
Merged by clime. Opened by frostyx.
frostyx/prunerepo regex-to-endswith  into  master

Download 2.patch

I am replacing the regex only in is_srpm function and keeping the same kind of regex in clean_copr function as is. In PR#1 @clime mentioned, that the function shall be deprecated soon, so we moved it to copr/copr code and won't make any changes in it here.

Thank you!

Pull-Request has been merged by clime

This PR has been migrated to GitHub as a placeholder issue:
https://github.com/fedora-copr/prunerepo/issues/2

Metadata