sshserver: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:55:39 -0700
changeset 25976 72b36785d7f4
parent 25975 de7a3893ee65
child 25977 696f6e2be282
sshserver: use absolute_import
mercurial/sshserver.py
--- a/mercurial/sshserver.py	Sat Aug 08 19:55:01 2015 -0700
+++ b/mercurial/sshserver.py	Sat Aug 08 19:55:39 2015 -0700
@@ -6,8 +6,16 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-import util, hook, wireproto
-import os, sys
+from __future__ import absolute_import
+
+import os
+import sys
+
+from . import (
+    hook,
+    util,
+    wireproto,
+)
 
 class sshserver(wireproto.abstractserverproto):
     def __init__(self, ui, repo):