| |
@@ -311,7 +311,7 @@
|
| |
|
| |
# A runtime module must have a 'runtime' profile, but can have other
|
| |
# profiles for SDKs, minimal runtimes, etc.
|
| |
- self.runtime = 'runtime' in base_module.mmd.get_profile_names()
|
| |
+ self.runtime = 'runtime' in base_module.mmd.get_profiles()
|
| |
|
| |
if profile:
|
| |
self.profile = profile
|
| |
@@ -320,7 +320,7 @@
|
| |
else:
|
| |
self.profile = 'default'
|
| |
|
| |
- assert self.profile in base_module.mmd.get_profile_names()
|
| |
+ assert self.profile in base_module.mmd.get_profiles()
|
| |
|
| |
# The module for the Flatpak runtime that this app runs against
|
| |
@property
|
| |
@@ -334,7 +334,7 @@
|
| |
for module_name in dependencies[0].get_buildtime_modules():
|
| |
try:
|
| |
module = self.modules[module_name]
|
| |
- if 'runtime' in module.mmd.get_profile_names():
|
| |
+ if 'runtime' in module.mmd.get_profiles():
|
| |
return module
|
| |
except KeyError:
|
| |
pass
|
| |
get_profile_names bindings are not functional as of
module-build-service-2.24.0 and libmodulemd-2.6.0
Signed-off-by: Athos Ribeiro athoscr@fedoraproject.org