changeset 25976:72b36785d7f4

sshserver: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 19:55:39 -0700
parents de7a3893ee65
children 696f6e2be282
files mercurial/sshserver.py
diffstat 1 files changed, 10 insertions(+), 2 deletions(-) [+]
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):