should call clear, not empth (thanks pylint) tls-sprint
authorsylvain.thenault@logilab.fr
Mon, 23 Mar 2009 13:07:26 +0100
branchtls-sprint
changeset 1130 17ff4d4bfbd0
parent 1129 c0603e04727d
child 1131 544609e83317
should call clear, not empth (thanks pylint)
appobject.py
--- a/appobject.py	Mon Mar 23 13:07:02 2009 +0100
+++ b/appobject.py	Mon Mar 23 13:07:26 2009 +0100
@@ -136,7 +136,7 @@
                                       {'name':cachename}).get_entity(0,0)
             cache.latest_cache_lookup = _now
             if not ecache.valid(cache.cache_creation_date):
-                cache.empty()
+                cache.clear()
                 cache.cache_creation_date = _now
         return cache