[PATCH 5 of 8] py3: make i18n/posplit use absolute_import

Pulkit Goyal 7895pulkit at gmail.com
Thu May 12 17:28:58 EDT 2016


# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1463087979 -19800
#      Fri May 13 02:49:39 2016 +0530
# Node ID 04ae82800fa6475f3385cd4525e7108825063c0a
# Parent  f9c8fddf340fe71b334628d1436d99873a827f07
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