Nitpicking an error statement
Make an error statement better to read. Change-Id: Id7d58510042754806cb31e5d178602daa045891a
This commit is contained in:
parent
f0a1ec2e29
commit
3477c118ff
@ -182,7 +182,7 @@ class _OutputtingRPMCallback(_RPMCallback):
|
|||||||
|
|
||||||
def yyoom_on_missing_package(self, pkg_req):
|
def yyoom_on_missing_package(self, pkg_req):
|
||||||
if not self._skip_missing:
|
if not self._skip_missing:
|
||||||
raise yum.Errors.InstallError("The '%s' package not found." % pkg_req)
|
raise yum.Errors.InstallError("The package '%s' was not found." % pkg_req)
|
||||||
req = pkg_resources.Requirement.parse(pkg_req)
|
req = pkg_resources.Requirement.parse(pkg_req)
|
||||||
self._missing.append(_package_info(req.unsafe_name,
|
self._missing.append(_package_info(req.unsafe_name,
|
||||||
action_type="missing",
|
action_type="missing",
|
||||||
|
Loading…
Reference in New Issue
Block a user