[yum-git] yum/config.py
James Antill
james at linux.duke.edu
Tue Jan 29 00:09:18 UTC 2008
yum/config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a4646e68e92afd10d006b1ec483a6e79fd943d1d
Author: James Antill <james at and.org>
Date: Mon Jan 28 19:09:13 2008 -0500
Fix installonly_limit set to "0"
diff --git a/yum/config.py b/yum/config.py
index 85dcd36..38b66ba 100644
--- a/yum/config.py
+++ b/yum/config.py
@@ -595,7 +595,7 @@ class YumConf(StartupConf):
# means if you ever install an "old" kernel it'll get rid of the newest one
# so you probably want to use 3 as a minimum ... if you turn it on.
installonly_limit = PositiveIntOption(0, range_min=2,
- names_of_0=[0, "<off>"])
+ names_of_0=["0", "<off>"])
kernelpkgnames = ListOption(['kernel','kernel-smp', 'kernel-enterprise',
'kernel-bigmem', 'kernel-BOOT', 'kernel-PAE', 'kernel-PAE-debug'])
exactarchlist = ListOption(['kernel', 'kernel-smp', 'glibc',
More information about the Yum-cvs-commits
mailing list