[yum-commits] yum-builddep.py
skvidal at osuosl.org
skvidal at osuosl.org
Tue May 26 18:34:35 UTC 2009
yum-builddep.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit ca1dbf2ac510da9394996281800057565ccdc9a8
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Fri May 22 17:00:19 2009 -0400
output a nicer error message when the srpm has an unknown gpg key
diff --git a/yum-builddep.py b/yum-builddep.py
index 9f89b8d..817cf33 100755
--- a/yum-builddep.py
+++ b/yum-builddep.py
@@ -117,7 +117,8 @@ class YumBuildDep(YumUtilBase):
try:
srpms.append(yum.packages.YumLocalPackage(self.ts, arg))
except yum.Errors.MiscError, e:
- self.logger.error("Error: Could not open %s" % arg)
+ self.logger.error("Error: Could not open %s .\nTry"
+ " running yum-builddep with the --nogpgcheck option." % arg)
raise
elif arg.endswith('.src'):
srcnames.append(arg)
More information about the Yum-commits
mailing list