This commit is contained in:
Michal Čihař 2012-02-29 11:50:11 +01:00
parent 9ec1ee3150
commit f824770223

View File

@ -235,7 +235,7 @@ class Translation(models.Model):
'''
Returns current Git blob for file.
'''
repo = self.translation.get_repo()
repo = self.subproject.get_repo()
tree = repo.tree()
return tree[self.filename]