- Method `get_remote_file_content` is object's method now

This commit is contained in:
Stepan Oksanichenko 2023-11-21 08:51:05 +02:00
parent 5fe0504265
commit ccaf31bc87
Signed by: soksanichenko
GPG Key ID: AB9983172AB1E45B
1 changed files with 6 additions and 1 deletions

View File

@ -59,7 +59,12 @@ def read_modules_yaml_from_specific_repo(
repo_path + '/',
'repodata/repomd.xml',
)
repomd_file_path = PackagesGenerator.get_remote_file_content(
packages_generator = PackagesGenerator(
variants=[],
excluded_packages=[],
included_packages=[],
)
repomd_file_path = packages_generator.get_remote_file_content(
file_url=repomd_url
)
else: