Skip to content

Commit 206aa7a

Browse files
authored
Added gpg_check positional argument (#80)
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
1 parent 89999ad commit 206aa7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/repository.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ def run_apt_update():
156156
_check_call(['apt-get', 'update'])
157157

158158

159-
def install_repos(project_list, config, linux_distro):
159+
def install_repos(project_list, config, linux_distro, gpg_check):
160160
for p in project_list:
161-
install_repo(p['name'], p['type'], config, linux_distro)
161+
install_repo(p['name'], p['type'], config, linux_distro, gpg_check)
162162

163163

164164
def install_repo(repo_name, repo_type, config, linux_distro, gpg_check):
@@ -223,7 +223,7 @@ def process_input(args, config):
223223
if (action == 'enable'):
224224
if project:
225225
project_list = load_project(project, config)
226-
install_repos(project_list, config, linux_distro)
226+
install_repos(project_list, config, linux_distro, gpg_check)
227227
else:
228228
install_repo(repo_name,
229229
repo_type,

0 commit comments

Comments
 (0)