rrs/tools/common.py: common_setup() Add layerindex to the path.

Add explicity layerindex folder to the path for avoid errors
in imports.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
Aníbal Limón 2016-06-29 15:18:45 -05:00 committed by Paul Eggleton
parent 6b8cfecf48
commit 34be7b80c2

View File

@ -10,6 +10,7 @@ import logging
def common_setup(): def common_setup():
import sys, os import sys, os
sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), '../../'))) sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), '../../')))
sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), '../../layerindex')))
def get_logger(name, settings): def get_logger(name, settings):
import os import os