# HG changeset patch # User Augie Fackler # Date 2017-08-22 18:14:52 # Node ID 078099304772925ddb583a3b34b8bff862adf3a2 # Parent 3595e4e0ae57f02cc835e2f1fc178236819374b0 i18n: update check-translation script to pass import checker diff --git a/i18n/check-translation.py b/i18n/check-translation.py --- a/i18n/check-translation.py +++ b/i18n/check-translation.py @@ -1,9 +1,11 @@ #!/usr/bin/env python # # check-translation.py - check Mercurial specific translation problems +from __future__ import absolute_import + +import re import polib -import re scanners = [] checkers = [] diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t +++ b/tests/test-check-py3-compat.t @@ -19,7 +19,6 @@ contrib/python-zstandard/tests/test_estimate_sizes.py not using absolute_import contrib/python-zstandard/tests/test_module_attributes.py not using absolute_import contrib/python-zstandard/tests/test_train_dictionary.py not using absolute_import - i18n/check-translation.py not using absolute_import setup.py not using absolute_import tests/test-demandimport.py not using absolute_import