From cfca1fb8a5105c59b810008baec2e5c178f77a11 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Tue, 19 Nov 2013 21:06:19 -0200 Subject: [PATCH] update message block as soons as message is imported --- src/super_archives/management/commands/import_emails.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/super_archives/management/commands/import_emails.py b/src/super_archives/management/commands/import_emails.py index 654798f..cedf02a 100644 --- a/src/super_archives/management/commands/import_emails.py +++ b/src/super_archives/management/commands/import_emails.py @@ -207,6 +207,7 @@ class Command(BaseCommand, object): ) email.thread = self.get_thread(email, mailinglist) email.save() + email.update_blocks() @transaction.commit_manually def import_emails(self, archives_path, all, exclude_lists=None): -- libgit2 0.21.2