Commit 315578c0 authored by Thomas Boni's avatar Thomas Boni
Browse files

fix pythonpath update to reach utils module

parent afebe6f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,8 +32,8 @@ import argparse

# Import the Config module and set the path to run the script from root project
# /!\ This instruction is only working if you run this script from the root of the project
from tools.utils.utils import Config
sys.path.insert(0, "./")
from tools.utils.utils import Config
utils = Config()


+1 −1
Original line number Diff line number Diff line
@@ -9,8 +9,8 @@ import re

# Import the Config module and set the path to run the script from root project
# /!\ This instruction is only working if you run this script from the root of the project
from tools.utils.utils import Config
sys.path.insert(0, "./")
from tools.utils.utils import Config
utils = Config()


+1 −1
Original line number Diff line number Diff line
@@ -12,8 +12,8 @@ import argparse

# Import the Config module and set the path to run the script from root project
# /!\ This instruction is only working if you run this script from the root of the project
from tools.utils.utils import Config
sys.path.insert(0, "./")
from tools.utils.utils import Config
utils = Config()

def get_labels(project_name, with_counts=False, include_ancestor_groups=True, search=""):
+1 −1
Original line number Diff line number Diff line
@@ -8,8 +8,8 @@ import argparse

# Import the Config module and set the path to run the script from root project
# /!\ This instruction is only working if you run this script from the root of the project
from tools.utils.utils import Config
sys.path.insert(0, "./")
from tools.utils.utils import Config
utils = Config()

def argparse_setup():
+1 −1
Original line number Diff line number Diff line
@@ -8,8 +8,8 @@ from yaml import full_load, YAMLError

# Import the Config module and set the path to run the script from root project
# /!\ This instruction is only working if you run this script from the root of the project
from tools.utils.utils import Config
sys.path.insert(0, "./")
from tools.utils.utils import Config
utils = Config()

# List of available labels for jobs