comparison 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
comparison
equal deleted inserted replaced
25975:de7a3893ee65 25976:72b36785d7f4
4 # Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com> 4 # Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
5 # 5 #
6 # This software may be used and distributed according to the terms of the 6 # This software may be used and distributed according to the terms of the
7 # GNU General Public License version 2 or any later version. 7 # GNU General Public License version 2 or any later version.
8 8
9 import util, hook, wireproto 9 from __future__ import absolute_import
10 import os, sys 10
11 import os
12 import sys
13
14 from . import (
15 hook,
16 util,
17 wireproto,
18 )
11 19
12 class sshserver(wireproto.abstractserverproto): 20 class sshserver(wireproto.abstractserverproto):
13 def __init__(self, ui, repo): 21 def __init__(self, ui, repo):
14 self.ui = ui 22 self.ui = ui
15 self.repo = repo 23 self.repo = repo