Commit 5414c60f authored by Michal Čihař's avatar Michal Čihař

Drop not needed variable

parent e352b0de
......@@ -466,10 +466,9 @@ class Translation(models.Model):
'''
from trans.models.unit import Unit
from trans.models.unitdata import Change
blob_hash = self.get_git_blob_hash()
# Check if we're not already up to date
if self.revision != blob_hash:
if self.revision != self.get_git_blob_hash():
weblate.logger.info(
'processing %s in %s, revision has changed',
self.filename,
......
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