AC-982 Fixes for inventory import speed when deleting groups.

This commit is contained in:
Chris Church
2014-02-04 22:55:44 -05:00
parent 033968a0a9
commit ce56f1c17d
2 changed files with 3 additions and 2 deletions

View File

@@ -523,7 +523,7 @@ class Command(NoArgsCommand):
del_groups = del_groups.exclude(name__in=self.all_group.all_groups.keys())
for group in del_groups:
group_name = group.name
group.mark_inactive()
group.mark_inactive(recompute=False)
self.logger.info('Group "%s" deleted', group_name)
# If overwrite is set, clear all invalid child relationships for groups