diff 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
line wrap: on
line diff
--- a/mercurial/hgweb/common.py	Sun Nov 01 15:09:35 2015 +0900
+++ b/mercurial/hgweb/common.py	Sat Oct 31 22:07:40 2015 +0900
@@ -6,8 +6,12 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
+from __future__ import absolute_import
+
 import BaseHTTPServer
-import errno, mimetypes, os
+import errno
+import mimetypes
+import os
 
 HTTP_OK = 200
 HTTP_NOT_MODIFIED = 304