[PATCH 7 of 8] py3: make i18n/hggettext use absolute_import

Pulkit Goyal 7895pulkit at gmail.com
Thu May 12 17:29:00 EDT 2016


# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1463088373 -19800
#      Fri May 13 02:56:13 2016 +0530
# Node ID 3a1b41a357e3de9ae5e512fab7abc44017f0c78f
# Parent  ceee457b385c8f9512b9296f2813217e051b9cb4
py3: make i18n/hggettext use absolute_import

diff --git a/i18n/hggettext b/i18n/hggettext
--- a/i18n/hggettext
+++ b/i18n/hggettext
@@ -20,7 +20,11 @@
 join the message cataloges to get the final catalog.
 """
 
-import os, sys, inspect
+from __future__ import absolute_import
+
+import inspect
+import os
+import sys
 
 
 def escape(s):


More information about the Mercurial-devel mailing list