[FIX] registry: forgot the self/cls args.

bzr revid: vmt@openerp.com-20110831075639-0ywrg01e6zdff7l7
This commit is contained in:
Vo Minh Thu 2011-08-31 09:56:39 +02:00
parent 67f486f0be
commit 2e7927331d
1 changed files with 2 additions and 2 deletions

View File

@ -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