[PATCH 1 of 6] py3: make i18n/posplit use absolute_import

Pulkit Goyal 7895pulkit at gmail.com
Thu May 12 22:07:19 UTC 2016


# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1463089126 -19800
#      Fri May 13 03:08:46 2016 +0530
# Node ID 756ec24e1c26add81f41a132f436425ebe5f95d2
# Parent  df838803c1d487e4601f96c6cfd85e6ad4f6291f
py3: make i18n/posplit use absolute_import

diff --git a/i18n/posplit b/i18n/posplit
--- a/i18n/posplit
+++ b/i18n/posplit
@@ -5,9 +5,11 @@
 # license: MIT/X11/Expat
 #
 
+from __future__ import absolute_import
+
+import polib
 import re
 import sys
-import polib
 
 def addentry(po, entry, cache):
     e = cache.get(entry.msgid)


More information about the Mercurial-devel mailing list