projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67f486f
)
[FIX] registry: forgot the self/cls args.
author
Vo Minh Thu
<vmt@openerp.com>
Wed, 31 Aug 2011 07:56:39 +0000
(09:56 +0200)
committer
Vo Minh Thu
<vmt@openerp.com>
Wed, 31 Aug 2011 07:56:39 +0000
(09:56 +0200)
bzr revid: vmt@openerp.com-
20110831075639
-0ywrg01e6zdff7l7
openerp/modules/registry.py
patch
|
blob
|
history
diff --git
a/openerp/modules/registry.py
b/openerp/modules/registry.py
index
47f1611
..
072082d
100644
(file)
--- 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