From c5892f62d031b97b6629a8105da8dcf904e706f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 28 Feb 2012 14:29:31 +0100 Subject: [PATCH] Initialize variable --- trans/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trans/models.py b/trans/models.py index b3e7cdbe7..c193a8d8d 100644 --- a/trans/models.py +++ b/trans/models.py @@ -242,6 +242,7 @@ class Translation(models.Model): store = self.get_store() src = unit.get_source_plurals()[0] pounits = store.findunits(src) + need_save = False for pounit in pounits: if pounit.getcontext() == unit.context: if unit.target != join_plural(pounit.target.strings):