comparison mercurial/hgweb/wsgicgi.py @ 27046:37fcfe52c68c

hgweb: use absolute_import
author Yuya Nishihara <yuya@tcha.org>
date Sat, 31 Oct 2015 22:07:40 +0900
parents e8efcc8ff5c0
children 39d13b8c101d
comparison
equal deleted inserted replaced
27045:eac72c1e1e0d 27046:37fcfe52c68c
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 # This was originally copied from the public domain code at 8 # This was originally copied from the public domain code at
9 # http://www.python.org/dev/peps/pep-0333/#the-server-gateway-side 9 # http://www.python.org/dev/peps/pep-0333/#the-server-gateway-side
10 10
11 import os, sys 11 from __future__ import absolute_import
12 from mercurial import util 12
13 from mercurial.hgweb import common 13 import os
14 import sys
15
16 from .. import (
17 util,
18 )
19
20 from . import (
21 common,
22 )
14 23
15 def launch(application): 24 def launch(application):
16 util.setbinary(sys.stdin) 25 util.setbinary(sys.stdin)
17 util.setbinary(sys.stdout) 26 util.setbinary(sys.stdout)
18 27