summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
c9ee73f)
from . import connection
Change-Id: I7761fb405a9ad6885063f6419e9caba78c8406a3
Issue-ID: VFC-1429
Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
if hasattr(self, 'db_cache') and self.db_cache:
return self.db_cache
else:
if hasattr(self, 'db_cache') and self.db_cache:
return self.db_cache
else:
- from redisco import connection
+ from . import connection
self.db_cache = connection
return self.db_cache
self.db_cache = connection
return self.db_cache