From 0d16ca71730d22a5cdbeeecfa70d63b09d2e9a3a Mon Sep 17 00:00:00 2001 From: lxnay Date: Sat, 6 Dec 2008 15:42:20 +0000 Subject: [PATCH] Entropy/DistributionUGCInterface: - fix previous commit git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2728 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- libraries/entropy.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/entropy.py b/libraries/entropy.py index 6636e9f18..2eca35dbc 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -17587,8 +17587,7 @@ class DistributionUGCInterface(RemoteDbSkelInterface): key = self.get_cache_item_key(cache_item) cur_time = self.get_current_time() cache_time = self.dumpTools.getobjmtime(key) - exp_timer = self.cached_results - if (cache_time + exp_timer) < cur_time: + if (cache_time + exp_time) < cur_time: # expired return None return self.dumpTools.loadobj(key)