From 9a1674f3bf255cb724ba5871233e902ac209ffd7 Mon Sep 17 00:00:00 2001 From: Lubomír Sedlář Date: Mar 24 2017 08:24:48 +0000 Subject: Improve error message for non-matching patterns Signed-off-by: Lubomír Sedlář --- diff --git a/pungi/gather_dnf.py b/pungi/gather_dnf.py index 7ddbaf4..462969e 100644 --- a/pungi/gather_dnf.py +++ b/pungi/gather_dnf.py @@ -334,7 +334,7 @@ class Gather(GatherBase): if pkgs: added.update(pkgs) else: - self.logger.error("Doesn't match: %s" % pattern) + self.logger.error("No package matches pattern %s" % pattern) for pkg in added: self._set_flag(pkg, "input")