changeset 29170:2516bba643e7

py3: make i18n/hggettext use absolute_import
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 13 May 2016 02:56:13 +0530
parents c9ab5a0bc7c5
children de28dedd1ff1
files i18n/hggettext
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/i18n/hggettext	Fri May 13 02:41:35 2016 +0530
+++ b/i18n/hggettext	Fri May 13 02:56:13 2016 +0530
@@ -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):