diff options
Diffstat (limited to 'tools/version-check.py')
| -rwxr-xr-x | tools/version-check.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/version-check.py b/tools/version-check.py index 9477762b0..58aa03e6e 100755 --- a/tools/version-check.py +++ b/tools/version-check.py @@ -24,12 +24,11 @@ import pkg_resources import prettytable import requests +# NOTE(SamYaple): Update the search path to prefer PROJECT_ROOT as the source +# of packages to import if we are using local tools instead of +# pip installed kolla tools PROJECT_ROOT = os.path.abspath(os.path.join( os.path.dirname(os.path.realpath(__file__)), '..')) - -# NOTE(SamYaple): Update the search patch to prefer PROJECT_ROOT as the source -# of packages to import if we are using local tools/build.py -# instead of pip installed kolla-build tool if PROJECT_ROOT not in sys.path: sys.path.insert(0, PROJECT_ROOT) |
