diff --git a/shimatta_kenkyusho/parts/management/commands/consolidate_component_package_parameters.py b/shimatta_kenkyusho/parts/management/commands/consolidate_component_package_parameters.py index e66ca5a..09d5c46 100644 --- a/shimatta_kenkyusho/parts/management/commands/consolidate_component_package_parameters.py +++ b/shimatta_kenkyusho/parts/management/commands/consolidate_component_package_parameters.py @@ -34,4 +34,6 @@ class Command(BaseCommand): if s1 == s2: 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() \ No newline at end of file + 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}"') \ No newline at end of file