Mercurial > hg
comparison mercurial/hgweb/__init__.py @ 27046:37fcfe52c68c
hgweb: use absolute_import
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 31 Oct 2015 22:07:40 +0900 |
parents | f6d41bfc189e |
children | ea8e27e6098d |
comparison
equal
deleted
inserted
replaced
27045:eac72c1e1e0d | 27046:37fcfe52c68c |
---|---|
4 # Copyright 2005 Matt Mackall <mpm@selenic.com> | 4 # Copyright 2005 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 os | 11 import os |
10 import hgweb_mod, hgwebdir_mod | 12 |
13 from . import ( | |
14 hgweb_mod, | |
15 hgwebdir_mod, | |
16 ) | |
11 | 17 |
12 def hgweb(config, name=None, baseui=None): | 18 def hgweb(config, name=None, baseui=None): |
13 '''create an hgweb wsgi object | 19 '''create an hgweb wsgi object |
14 | 20 |
15 config can be one of: | 21 config can be one of: |