[Yum-devel] [PATCH 1/4] Adds the commands section to the configuration file.
Nick Jacek
njacek at redhat.com
Mon Jul 23 18:10:43 UTC 2012
---
new-yum-cron/yum-cron.conf | 2 +-
new-yum-cron/yum-cron.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/new-yum-cron/yum-cron.conf b/new-yum-cron/yum-cron.conf
index 3a7d690..94dfc76 100644
--- a/new-yum-cron/yum-cron.conf
+++ b/new-yum-cron/yum-cron.conf
@@ -1,4 +1,4 @@
-[main]
+[commands]
# Whether a message should emitted when updates are available.
update_messages = yes
diff --git a/new-yum-cron/yum-cron.py b/new-yum-cron/yum-cron.py
index 86f5fa1..21c9e37 100755
--- a/new-yum-cron/yum-cron.py
+++ b/new-yum-cron/yum-cron.py
@@ -1029,7 +1029,7 @@ def main(options = None):
sys.exit(1)
# Populate the values into the opts object
- opts.populate(confparser, 'main')
+ opts.populate(confparser, 'commands')
opts.populate(confparser, 'emitters')
opts.populate(confparser, 'email')
--
1.7.11.2
More information about the Yum-devel
mailing list