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

Better message for commit

parent 7b25372f
......@@ -476,9 +476,9 @@ class Translation(models.Model):
if not self.git_needs_commit(gitrepo):
return False
if not force_commit and settings.LAZY_COMMITS:
logger.info('Delaying commiting %s as %s', self.filename, author)
logger.info('Delaying commiting %s in %s as %s', self.filename, self, author)
return False
logger.info('Commiting %s as %s', self.filename, author)
logger.info('Commiting %s in %s as %s', self.filename, self, author)
try:
self.__git_commit(gitrepo, author)
except git.GitCommandError:
......
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