Mercurial > hg
changeset 25978:762f4c6df6b1
statichttprepo: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 20:11:08 -0700 |
parents | 696f6e2be282 |
children | b723f05ec49b |
files | mercurial/statichttprepo.py |
diffstat | 1 files changed, 20 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/statichttprepo.py Sat Aug 08 19:56:22 2015 -0700 +++ b/mercurial/statichttprepo.py Sat Aug 08 20:11:08 2015 -0700 @@ -7,10 +7,26 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from i18n import _ -import changelog, byterange, url, error, namespaces -import localrepo, manifest, util, scmutil, store -import urllib, urllib2, errno, os +from __future__ import absolute_import + +import errno +import os +import urllib +import urllib2 + +from .i18n import _ +from . import ( + byterange, + changelog, + error, + localrepo, + manifest, + namespaces, + scmutil, + store, + url, + util, +) class httprangereader(object): def __init__(self, url, opener):