Improve error message for non-matching patterns

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2017-01-16 13:39:53 +01:00
parent b53e4a84d3
commit 9a1674f3bf

View File

@ -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")