Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: cms/translations/xtm/utils.py

Issue 29906560: Issue 7042 - [XTM Integration] Solve UnicodeDecodeErrors occuring (Closed)
Patch Set: Created Oct. 10, 2018, 1:53 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/test_xtm_translations_utils.py » ('j') | tests/test_xtm_translations_utils.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cms/translations/xtm/utils.py
diff --git a/cms/translations/xtm/utils.py b/cms/translations/xtm/utils.py
index 2cb220cdcead84591c2582f53798f0308ff80014..b1ece83fd7147db65c952d435e6008e2d55f2ada 100644
--- a/cms/translations/xtm/utils.py
+++ b/cms/translations/xtm/utils.py
@@ -12,6 +12,7 @@
#
# You should have received a copy of the GNU General Public License
# along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
+from __future__ import unicode_literals
Vasily Kuznetsov 2018/10/10 14:01:26 Nit: empty string after the top comment
Tudor Avram 2018/10/11 13:58:28 Done.
import collections
import logging
« no previous file with comments | « no previous file | tests/test_xtm_translations_utils.py » ('j') | tests/test_xtm_translations_utils.py » ('J')

Powered by Google App Engine
This is Rietveld