From 2e7927331d642bad8d0bea02ed438e406df9f172 Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Wed, 31 Aug 2011 09:56:39 +0200 Subject: [PATCH] [FIX] registry: forgot the self/cls args. bzr revid: vmt@openerp.com-20110831075639-0ywrg01e6zdff7l7 --- openerp/modules/registry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openerp/modules/registry.py b/openerp/modules/registry.py index 47f16119e86..072082db000 100644 --- a/openerp/modules/registry.py +++ b/openerp/modules/registry.py @@ -77,7 +77,7 @@ class Registry(object): return res - def clear_caches(): + def clear_caches(self): """ Clear the caches This clears the caches associated to methods decorated with @@ -160,7 +160,7 @@ class RegistryManager(object): @classmethod - def clear_caches(db_name): + def clear_caches(cls, db_name): """ Clear the caches This clears the caches associated to methods decorated with