mercurial/hgweb/wsgicgi.py
changeset 27046 37fcfe52c68c
parent 18552 e8efcc8ff5c0
child 30473 39d13b8c101d
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