Merge "Change the search path to look locally"
This commit is contained in:
commit
4133778a5f
@ -12,6 +12,14 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
PROJECT_ROOT = os.path.abspath(os.path.join(
|
||||||
|
os.path.dirname(os.path.realpath(__file__)), '../..'))
|
||||||
|
if PROJECT_ROOT not in sys.path:
|
||||||
|
sys.path.insert(0, PROJECT_ROOT)
|
||||||
|
|
||||||
from kolla.image import build
|
from kolla.image import build
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user