[yum-cvs] yum-updatesd

James Antill james at linux.duke.edu
Tue Dec 11 00:17:37 UTC 2007


 yum-updatesd |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit b24a257119ed625211aa4f6c3461d2b608012c31
Author: James Antill <james at and.org>
Date:   Mon Dec 10 19:17:27 2007 -0500

    Import SecondsOption() and dtrt if it isn't available (so no hard dep. needed)

diff --git a/yum-updatesd b/yum-updatesd
index 83c8c70..18df6fe 100755
--- a/yum-updatesd
+++ b/yum-updatesd
@@ -40,6 +40,11 @@ import gobject
 import gamin
 
 from yum.config import BaseConfig, Option, IntOption, ListOption, BoolOption
+try:
+    from yum.config import SecondsOption
+except:
+    class SecondsOption(IntOption):
+        pass
 from yum.parser import ConfigPreProcessor
 from ConfigParser import ConfigParser, ParsingError
 



More information about the Yum-cvs-commits mailing list