Commit d5314b6e authored by Michal Čihař's avatar Michal Čihař

Always initialize old_* attributes

parent a3b6e39b
......@@ -333,6 +333,8 @@ class Unit(models.Model):
'''
super(Unit, self).__init__(*args, **kwargs)
self._all_flags = None
self.old_translated = self.translated
self.old_fuzzy = self.fuzzy
def has_acl(self, user):
'''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment