Fix gevent cache, by default it shouldn't be shared
Change-Id: Iea05807a8d9abcc80cc90c5f66c0a480a05aea95
This commit is contained in:
parent
c922e90c18
commit
a637c3192e
@ -59,7 +59,7 @@ class _localimpl(object):
|
|||||||
"""Iterate to top most parent, and use it as a base"""
|
"""Iterate to top most parent, and use it as a base"""
|
||||||
c = getcurrent()
|
c = getcurrent()
|
||||||
while 1:
|
while 1:
|
||||||
tmp_c = getattr(c, '_nested_parent', c.parent)
|
tmp_c = getattr(c, '_nested_parent', None)
|
||||||
if not tmp_c:
|
if not tmp_c:
|
||||||
return c
|
return c
|
||||||
c = tmp_c
|
c = tmp_c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user