[FIX] missing a threading.RLock in RegistryManager.get():
authorGuewen Baconnier <guewen.baconnier@camptocamp.com>
Fri, 11 Oct 2013 09:26:32 +0000 (11:26 +0200)
committerGuewen Baconnier <guewen.baconnier@camptocamp.com>
Fri, 11 Oct 2013 09:26:32 +0000 (11:26 +0200)
commit9c769c9a990064012409747596d8298cd477c31a
treedb6c99ea7b50a087e19fccf3a27fee7177c7408a
parentdafa12d92caf553f40bd1bbb052864ab63d4bd53
[FIX] missing a threading.RLock in RegistryManager.get():

if no registry exists and several calls to RegistryManager.get() are called at the same time
by several threads, several registries will be created one after the other and only the last
one will be kept in cls.registries

lp bug: https://launchpad.net/bugs/1238560 fixed

bzr revid: guewen.baconnier@camptocamp.com-20131011092632-b267vhdadh7q9som
openerp/modules/registry.py