[Yum-devel] [PATCH 1/2] comment to think about a conditional to deal with y-c-t from rh bug #608984

Seth Vidal skvidal at fedoraproject.org
Wed Jun 30 18:03:20 UTC 2010


---
 yum/__init__.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/yum/__init__.py b/yum/__init__.py
index 15dad25..17a7156 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -899,7 +899,11 @@ class YumBase(depsolve.Depsolve):
             self.logger.critical(msg)
             self.yumUtilsMsg(self.logger.critical, "yum-complete-transaction")
             time.sleep(3)
-
+        
+        # XXX - we could add a conditional here to avoid running the plugins and 
+        # limit_installonly_pkgs, etc - if we're being run from yum-complete-transaction
+        # and don't want it to happen. - skv
+        
         self.plugins.run('preresolve')
         ds_st = time.time()
 
-- 
1.7.0.1



More information about the Yum-devel mailing list