Skip to content

Commit 4c1cfd6

Browse files
committed
style
Signed-off-by: Ian Chen <ichen@openrobotics.org>
1 parent f1058dc commit 4c1cfd6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/repository.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ def get_repo_url(repo_name, repo_type, config):
131131

132132
error('Unknown repository or type: ' + repo_name + '/' + repo_type)
133133

134+
134135
def get_repo_suite(repo_name, repo_type, config):
135136
for p in config['repositories']:
136137
if p['name'] == repo_name and p['linux_distro'].lower() == get_linux_distro():
@@ -140,6 +141,7 @@ def get_repo_suite(repo_name, repo_type, config):
140141
return t['suite']
141142
return None
142143

144+
143145
def get_sources_list_file_path(repo_name, repo_type):
144146
filename = f'{GZDEV_FILE_PREFIX}{repo_name}_{repo_type}.list'
145147
directory = '/etc/apt/sources.list.d'
@@ -217,6 +219,7 @@ def install_repo(repo_name, repo_type, config, linux_distro, gpg_check):
217219
distro_component_or_suite_str = f"{linux_distro} main"
218220

219221
content = f"deb [{trusted_or_signed_str}] {url} {distro_component_or_suite_str}"
222+
print(content)
220223
full_path = get_sources_list_file_path(repo_name, repo_type)
221224
if os.path.isfile(full_path):
222225
warn("gzdev file with the repositoy already exists in the system:"

0 commit comments

Comments
 (0)