Mercurial > public > mercurial-scm > hg
comparison mercurial/namespaces.py @ 25961:c0c89b2d07be
namespaces: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 19:42:58 -0700 |
parents | d8e0c591781c |
children | ca52512ac709 |
comparison
equal
deleted
inserted
replaced
25960:05d97407a8d1 | 25961:c0c89b2d07be |
---|---|
1 from i18n import _ | 1 from __future__ import absolute_import |
2 from mercurial import util | 2 |
3 import templatekw | 3 from .i18n import _ |
4 from . import ( | |
5 templatekw, | |
6 util, | |
7 ) | |
4 | 8 |
5 def tolist(val): | 9 def tolist(val): |
6 """ | 10 """ |
7 a convenience method to return an empty list instead of None | 11 a convenience method to return an empty list instead of None |
8 """ | 12 """ |