Skip to content

Commit

Permalink
Added gpg_check positional argument (#80)
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
  • Loading branch information
j-rivero committed Feb 27, 2024
1 parent 89999ad commit 206aa7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ def run_apt_update():
_check_call(['apt-get', 'update'])


def install_repos(project_list, config, linux_distro):
def install_repos(project_list, config, linux_distro, gpg_check):
for p in project_list:
install_repo(p['name'], p['type'], config, linux_distro)
install_repo(p['name'], p['type'], config, linux_distro, gpg_check)


def install_repo(repo_name, repo_type, config, linux_distro, gpg_check):
Expand Down Expand Up @@ -223,7 +223,7 @@ def process_input(args, config):
if (action == 'enable'):
if project:
project_list = load_project(project, config)
install_repos(project_list, config, linux_distro)
install_repos(project_list, config, linux_distro, gpg_check)
else:
install_repo(repo_name,
repo_type,
Expand Down

0 comments on commit 206aa7a

Please sign in to comment.