From 344fa72357e159712c0269d8d3b050d67fbb4222 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 13 Feb 2020 09:33:01 -0500 Subject: [PATCH] renaturalize command should not skip any values --- netbox/extras/management/commands/renaturalize.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/netbox/extras/management/commands/renaturalize.py b/netbox/extras/management/commands/renaturalize.py index 9ba4c44c2..70f57c1ba 100644 --- a/netbox/extras/management/commands/renaturalize.py +++ b/netbox/extras/management/commands/renaturalize.py @@ -88,14 +88,6 @@ class Command(BaseCommand): for value in queryset: naturalized_value = naturalize(value) - # Skip any naturalized values that don't differ from their original form - if value == naturalized_value: - if options['verbosity'] >= 3: - self.stdout.write(self.style.WARNING( - " {} == {} (skipped)".format(value, naturalized_value) - )) - continue - if options['verbosity'] >= 2: self.stdout.write(" {} -> {}".format(value, naturalized_value), ending='') self.stdout.flush()