[damned-lies] Forgotten variable assignation



commit f6cb52b5d5667aca68f38aaf8c8dc8b1ae38eb2b
Author: Claude Paroz <claude 2xlibre net>
Date:   Sat Oct 17 18:01:43 2015 +0200

    Forgotten variable assignation

 vertimus/models.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vertimus/models.py b/vertimus/models.py
index 840e667..e0046f5 100644
--- a/vertimus/models.py
+++ b/vertimus/models.py
@@ -640,7 +640,7 @@ class ActionCI(Action):
         action_with_po = self.get_previous_action_with_po()
         author = form_data['author'].as_author() if form_data['author'] else None
         try:
-            state.branch.commit_po(
+            commit_hash = state.branch.commit_po(
                 action_with_po.file.path, state.domain, state.language, author)
         except Exception:
             # Commit failed, state unchanged


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]