Fix gevent cache, by default it shouldn't be shared

Change-Id: Iea05807a8d9abcc80cc90c5f66c0a480a05aea95
This commit is contained in:
Jedrzej Nowak 2016-01-12 15:24:12 +01:00
parent c922e90c18
commit a637c3192e

View File

@ -59,7 +59,7 @@ class _localimpl(object):
"""Iterate to top most parent, and use it as a base"""
c = getcurrent()
while 1:
tmp_c = getattr(c, '_nested_parent', c.parent)
tmp_c = getattr(c, '_nested_parent', None)
if not tmp_c:
return c
c = tmp_c