statichttprepo: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 20:11:08 -0700
changeset 25978 762f4c6df6b1
parent 25977 696f6e2be282
child 25979 b723f05ec49b
statichttprepo: use absolute_import
mercurial/statichttprepo.py
--- 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):