[yum-commits] debuginfo-install.py yum-builddep.py yum-complete-transaction.py

skvidal at osuosl.org skvidal at osuosl.org
Wed Sep 16 18:31:42 UTC 2009


 debuginfo-install.py        |    4 ++--
 yum-builddep.py             |    2 +-
 yum-complete-transaction.py |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 5cd21883365604ffcc8c0c37b6e23c79d91b6ae8
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Sep 16 14:30:46 2009 -0400

    modify debuginfo-install, yum-builddep, and yum-complete-transaction to use new doUtilTransaction() method

diff --git a/debuginfo-install.py b/debuginfo-install.py
index e4b8d0d..b496951 100755
--- a/debuginfo-install.py
+++ b/debuginfo-install.py
@@ -81,8 +81,8 @@ class DebugInfoInstall(YumUtilBase):
             self.doUnlock()
             sys.exit()
             
-        self.doTransaction()
-        self.doUnlock()    
+        sys.exit(self.doUtilTransaction())
+
     def di_try_install(self, po):
         if po.name.endswith('-debuginfo'): # Wildcard matches produce this
             return
diff --git a/yum-builddep.py b/yum-builddep.py
index b3ba98d..264185e 100755
--- a/yum-builddep.py
+++ b/yum-builddep.py
@@ -79,7 +79,7 @@ class YumBuildDep(YumUtilBase):
             print 'No uninstalled build requires'
             sys.exit()
             
-        self.doTransaction()
+        sys.exit(self.doUtilTransaction())
         
     def setupSourceRepos(self):
         # enable the -source repos for enabled primary repos
diff --git a/yum-complete-transaction.py b/yum-complete-transaction.py
index 906af83..7c544c2 100755
--- a/yum-complete-transaction.py
+++ b/yum-complete-transaction.py
@@ -193,7 +193,7 @@ class YumCompleteTransaction(YumUtilBase):
             sys.exit()
 
         else:
-            if self.doTransaction() == 0:
+            if self.doUtilTransaction() == 0:
                 print "Cleaning up completed transaction file"
                 self.clean_up_ts_files(timestamp, self.conf.persistdir)
                 sys.exit()


More information about the Yum-commits mailing list