diff --git a/.gitignore b/.gitignore index 418ff82415780c8ee345c6ada24a3fc02221e516..c5301466d77c854b3297b5c59912729471882bb1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ scripts/__pycache__ scripts/fng* scripts/yocto* +venv* diff --git a/scripts/get_integration_sources.py b/scripts/get_integration_sources.py index 94ded908596c4a8846b9de40d6fd19167fb5a882..ee1dd20dd40175cd63014b0dfdbdd6180fe19653 100755 --- a/scripts/get_integration_sources.py +++ b/scripts/get_integration_sources.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 import argparse import re -import sys from gitlab import Gitlab, GitlabGetError from gitlab.v4.objects import Group @@ -48,10 +47,8 @@ def get_integration_sources(manifest_project: str, manifest_branch: str, group: if e.response_code == 404: # not found pass elif e.response_code == 403: # forbidden - sys.exit( - f"ERROR: could not get INTEGRATION variable of project " - f"{project.path_with_namespace}\n" - f"{e.error_message}" + print( + f"Warning: No permissions to the shared project {project.path_with_namespace}. Skipping it." ) else: raise