[yum-commits] Branch 'yum-3_2_X' - yum/__init__.py

James Antill james at osuosl.org
Mon Aug 1 15:36:43 UTC 2011


 yum/__init__.py |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 0687317a751d4436b3840f36db98788fd6727127
Author: James Antill <james at and.org>
Date:   Mon Aug 1 11:36:28 2011 -0400

    Add comment explaining pkg_warn indirection.

diff --git a/yum/__init__.py b/yum/__init__.py
index 2149d77..b29dc80 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -3450,6 +3450,9 @@ class YumBase(depsolve.Depsolve):
 
         #  This is kind of hacky, we really need a better way to do errors than
         # doing them directly from .install/etc. ... but this is easy. *sigh*.
+        #  We are only using this in "groupinstall" atm. ... so we don't have
+        # a long list of "blah already installed." messages when people run
+        # "groupinstall mygroup" in yum-cron etc.
         pkg_warn = kwargs.get('pkg_warning_level', 'flibble')
         def _dbg2(*args, **kwargs):
             self.verbose_logger.log(logginglevels.DEBUG_2, *args, **kwargs)


More information about the Yum-commits mailing list