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

hgweb: use absolute_import
author Yuya Nishihara <yuya@tcha.org>
date Sat, 31 Oct 2015 22:07:40 +0900
parents 1dde4914fb6c
children 7f0498bd284e
comparison
equal deleted inserted replaced
27045:eac72c1e1e0d 27046:37fcfe52c68c
4 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> 4 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.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 from __future__ import absolute_import
10
9 import BaseHTTPServer 11 import BaseHTTPServer
10 import errno, mimetypes, os 12 import errno
13 import mimetypes
14 import os
11 15
12 HTTP_OK = 200 16 HTTP_OK = 200
13 HTTP_NOT_MODIFIED = 304 17 HTTP_NOT_MODIFIED = 304
14 HTTP_BAD_REQUEST = 400 18 HTTP_BAD_REQUEST = 400
15 HTTP_UNAUTHORIZED = 401 19 HTTP_UNAUTHORIZED = 401