comparison hgext/acl.py @ 28089:a1163ee26e4a

acl: use absolute_import Continuing the march towards Python 3.
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 09 Feb 2016 17:29:39 -0800
parents 56b2bcea2529
children 032c4c2f802a
comparison
equal deleted inserted replaced
28088:19424f960bf5 28089:a1163ee26e4a
189 # 'gollum' and anyone else can still change any other file. 189 # 'gollum' and anyone else can still change any other file.
190 /misty/mountains/cave/ring = !gollum 190 /misty/mountains/cave/ring = !gollum
191 191
192 ''' 192 '''
193 193
194 from __future__ import absolute_import
195
196 import getpass
197 import urllib
198
194 from mercurial.i18n import _ 199 from mercurial.i18n import _
195 from mercurial import util, match, error 200 from mercurial import (
196 import getpass, urllib 201 error,
202 match,
203 util,
204 )
197 205
198 # Note for extension authors: ONLY specify testedwith = 'internal' for 206 # Note for extension authors: ONLY specify testedwith = 'internal' for
199 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 207 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
200 # be specifying the version(s) of Mercurial they are tested with, or 208 # be specifying the version(s) of Mercurial they are tested with, or
201 # leave the attribute unspecified. 209 # leave the attribute unspecified.