Bugfix Tah.after_change signal handler.
[wolnelektury.git] / apps / catalogue / management / commands / checkintegrity.py
index 51fcd94..6ae2b9a 100644 (file)
@@ -55,7 +55,7 @@ class Command(BaseCommand):
                         print "Is:       ", ", ".join(ancestors)
                         print "Should be:", ", ".join(parents)
                     if not options['dry_run']:
                         print "Is:       ", ", ".join(ancestors)
                         print "Should be:", ", ".join(parents)
                     if not options['dry_run']:
-                        book.fix_tree_tags()
+                        book.repopulate_ancestors()
                         if options['verbose']:
                             print "Fixed."
                     if options['verbose']:
                         if options['verbose']:
                             print "Fixed."
                     if options['verbose']: