[yum-commits] 2 commits - yum-cron/yum-cron.py

zpavlas at osuosl.org zpavlas at osuosl.org
Wed Jul 24 15:07:29 UTC 2013


 yum-cron/yum-cron.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit a8f83902efaaa83a65c4b8b0343a737373c1c5c0
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date:   Wed Jul 24 17:06:21 2013 +0200

    yum-cron: fix a typo.  BZ 983076

diff --git a/yum-cron/yum-cron.py b/yum-cron/yum-cron.py
index 4c60274..0f354e0 100755
--- a/yum-cron/yum-cron.py
+++ b/yum-cron/yum-cron.py
@@ -943,7 +943,7 @@ class YumCronBase(yum.YumBase):
                                             self.tsInfo.getMembers()))
         try:
             # Download the updates
-            self.conf.download_only = not self.opts.apply_updates
+            self.conf.downloadonly = not self.opts.apply_updates
             self.downloadPkgs(dlpkgs)
         except Exception, e:
             self.emitDownloadFailed("%s" % e)
commit 6fa3337e303110879e2d4438ce7cd24860423135
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date:   Wed Jul 24 17:05:18 2013 +0200

    yum-cron: use the [base] section, too

diff --git a/yum-cron/yum-cron.py b/yum-cron/yum-cron.py
index 74eb6d7..4c60274 100755
--- a/yum-cron/yum-cron.py
+++ b/yum-cron/yum-cron.py
@@ -764,6 +764,7 @@ class YumCronBase(yum.YumBase):
         self.opts.populate(confparser, 'emitters')
         self.opts.populate(confparser, 'email')
         self.opts.populate(confparser, 'groups')
+        self.opts.populate(confparser, 'base')
 
         #If the system name is not given, set it by getting the hostname
         if self.opts.system_name == 'None' :


More information about the Yum-commits mailing list