From dad3528ab7191bd4097d0fac275b89bccbfd6119 Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Fri, 26 Aug 2011 14:10:26 +0200 Subject: [PATCH] [FIX] registry.py: typos (invalid syntax). I wonder how come I made the previous commit. bzr revid: vmt@openerp.com-20110826121026-da90yx3iapj6y1v1 --- openerp/modules/registry.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openerp/modules/registry.py b/openerp/modules/registry.py index 19b6227d621..e651c5d7994 100644 --- a/openerp/modules/registry.py +++ b/openerp/modules/registry.py @@ -82,7 +82,7 @@ class Registry(object): return res - def clear_caches + def clear_caches(): """ Clear the caches This clears the caches associated to methods decorated with @@ -165,7 +165,7 @@ class RegistryManager(object): @classmethod - def clear_caches(db_name) + def clear_caches(db_name): """ Clear the caches This clears the caches associated to methods decorated with @@ -176,7 +176,7 @@ class RegistryManager(object): that would loads the given database if it was not already loaded. """ if db_name in cls.registries: - del cls.registries[db_name].clear_caches() + cls.registries[db_name].clear_caches() # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: