Add error output if inconsisten parameters are found on package and components during consolidation progress

This commit is contained in:
Mario Hüttel 2024-11-24 01:42:58 +01:00
parent c19f4a8159
commit 15b4257c73

View File

@ -35,3 +35,5 @@ class Command(BaseCommand):
self.stdout.write(f'\tParameter {common_type.parameter_name} is the same value for component and package: {s1}. Removing from component')
if not options['dry_run']:
comp_param.delete()
else:
self.stderr.write(f'\tParameter {common_type.parameter_name} is set on component {str(component)} and its package with different values: "{s1}" vs "{s2}"')