From 9582495caf2d1f12614498b4b752ee42070b678e Mon Sep 17 00:00:00 2001 From: mprahl Date: Nov 20 2019 19:42:34 +0000 Subject: [PATCH 1/2] Clarify a log message in _find_images_to_rebuild --- diff --git a/freshmaker/handlers/koji/rebuild_images_on_rpm_advisory_change.py b/freshmaker/handlers/koji/rebuild_images_on_rpm_advisory_change.py index 2a12a93..864c3ec 100644 --- a/freshmaker/handlers/koji/rebuild_images_on_rpm_advisory_change.py +++ b/freshmaker/handlers/koji/rebuild_images_on_rpm_advisory_change.py @@ -421,7 +421,7 @@ class RebuildImagesOnRPMAdvisoryChange(ContainerBuildHandler): if affected_pkgs: tmp_srpm_nvrs = srpm_nvrs srpm_nvrs = set([srpm_nvr for srpm_nvr in srpm_nvrs if kobo.rpmlib.parse_nvr(srpm_nvr)["name"] in affected_pkgs]) - self.log_info(("Not going to rebuild these container images," + self.log_info(("Not going to rebuild container images with RPMS from these SRPMs " "because they're not affected: %r"), tmp_srpm_nvrs.difference(srpm_nvrs)) self.log_info( From 4dc869ef858030afaf5cfb88ca087f96c647d457 Mon Sep 17 00:00:00 2001 From: mprahl Date: Nov 20 2019 19:42:54 +0000 Subject: [PATCH 2/2] Fix a typo in the _match_allow_build_rule docstring --- diff --git a/freshmaker/handlers/__init__.py b/freshmaker/handlers/__init__.py index 25d49d9..2cd25b6 100644 --- a/freshmaker/handlers/__init__.py +++ b/freshmaker/handlers/__init__.py @@ -329,7 +329,7 @@ class BaseHandler(object): If "all" is used, this method returns True if *all* dicts in list after the operator name matches the criteria. :rtype: bool - :return: True if the crtieria matches the rule. + :return: True if the criteria matches the rule. """ # If rule is list, check each item (which should be a dict) separately # and return True if any item matches. Support also tuples for