comparison mercurial/wireproto.py @ 25993:0851678be71b

wireproto: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 18:53:17 -0700
parents fa14ba7b9667
children d947086d8973
comparison
equal deleted inserted replaced
25992:2d76f8a2d831 25993:0851678be71b
3 # Copyright 2005-2010 Matt Mackall <mpm@selenic.com> 3 # Copyright 2005-2010 Matt Mackall <mpm@selenic.com>
4 # 4 #
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 7
8 import urllib, tempfile, os, sys 8 from __future__ import absolute_import
9 from i18n import _ 9
10 from node import bin, hex 10 import os
11 import changegroup as changegroupmod, bundle2, pushkey as pushkeymod 11 import sys
12 import peer, error, encoding, util, exchange 12 import tempfile
13 13 import urllib
14
15 from .i18n import _
16 from .node import (
17 bin,
18 hex,
19 )
20
21 from . import (
22 bundle2,
23 changegroup as changegroupmod,
24 encoding,
25 error,
26 exchange,
27 peer,
28 pushkey as pushkeymod,
29 util,
30 )
14 31
15 class abstractserverproto(object): 32 class abstractserverproto(object):
16 """abstract class that summarizes the protocol API 33 """abstract class that summarizes the protocol API
17 34
18 Used as reference and documentation. 35 Used as reference and documentation.