[yum-cvs] yum-builddep.py

Seth Vidal skvidal at linux.duke.edu
Sun Aug 12 14:30:14 UTC 2007


 yum-builddep.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 96b748cd9f331228ecc6d2cdbc670971639d5578
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Sun Aug 12 10:27:53 2007 -0400

    change exception from PackageSackError to YumBaseError to close
    rh bug #251827

diff --git a/yum-builddep.py b/yum-builddep.py
index 19268cf..6a06f2c 100755
--- a/yum-builddep.py
+++ b/yum-builddep.py
@@ -86,7 +86,7 @@ def main():
                 pkg = base.returnPackageByDep(dep)
                 if not base.rpmdb.installed(name=pkg.name):
                     base.tsInfo.addInstall(pkg)
-            except yum.Errors.PackageSackError, e:
+            except yum.Errors.YumBaseError, e:
                 logger.error("Error: %s" % e)
                 sys.exit(1)
                     



More information about the Yum-cvs-commits mailing list