[yum-cvs] yum-updatesd

James Antill james at linux.duke.edu
Fri Dec 21 14:46:25 UTC 2007


 yum-updatesd |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 30c6931e59b25436de6517de042215eb361b97dd
Author: James Antill <james at and.org>
Date:   Fri Dec 21 09:46:21 2007 -0500

    Fix NameError

diff --git a/yum-updatesd b/yum-updatesd
index 18df6fe..717524b 100755
--- a/yum-updatesd
+++ b/yum-updatesd
@@ -152,7 +152,7 @@ def checkUpdates(opts, wait = False, limited=False):
         print >> sys.stderr, "Helper process already running"
         return True
 
-    if lastUpdate and (time.time() - lastUpdate) < updaterefresh:
+    if lastUpdate and (time.time() - lastUpdate) < opts.updaterefresh:
         print >> sys.stderr, "Update requested too quickly"
         return True
 



More information about the Yum-cvs-commits mailing list