#21: feature/21-add-package-params #32
@ -34,4 +34,6 @@ class Command(BaseCommand):
|
|||||||
if s1 == s2:
|
if s1 == s2:
|
||||||
self.stdout.write(f'\tParameter {common_type.parameter_name} is the same value for component and package: {s1}. Removing from component')
|
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']:
|
if not options['dry_run']:
|
||||||
comp_param.delete()
|
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}"')
|
Loading…
Reference in New Issue
Block a user