Entropy/DistributionUGCInterface:

- fix previous commit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2728 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-12-06 15:42:20 +00:00
parent 7712fcb660
commit 0d16ca7173
+1 -2
View File
@@ -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)