diff mercurial/sshserver.py @ 25976:72b36785d7f4

sshserver: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 19:55:39 -0700
parents 9f6e0e7ef828
children 56b2bcea2529
line wrap: on
line diff
--- 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):