mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 03:49:10 +02:00
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:
parent
6b8cfecf48
commit
34be7b80c2
|
@ -10,6 +10,7 @@ import logging
|
|||
def common_setup():
|
||||
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__), '../../layerindex')))
|
||||
|
||||
def get_logger(name, settings):
|
||||
import os
|
||||
|
|
Loading…
Reference in New Issue
Block a user