#117 Renaming the deprecated method 'warn'.
Merged 9 days ago by tdawson. Opened 11 days ago by churchyard.
centos/ churchyard/centpkg warning  into  develop

file modified
+1 -1
@@ -247,7 +247,7 @@ 

          except OSError as e:

              self.log.debug("Cannot read spec.", exc_info=e)

          if defined_patchn:

-             self.log.warn(

+             self.log.warning(

                  "centpkg defined %patchN compatibility shims to parse the spec file. "

                  "%patchN is obsolete, use %patch -P N instead."

              )

This was changed when I ported my change to rhpkg. So bringing thew fixup back here.

Pull-Request has been merged by tdawson

9 days ago
Metadata