Mercurial > hg
changeset 11945:5094e6b2f640
ui: differentiate empty configlist from None
author | Alecs King <alecsk@gmail.com> |
---|---|
date | Wed, 11 Aug 2010 20:28:39 +0800 |
parents | df52ff0980fe |
children | 851161f07068 |
files | mercurial/ui.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/ui.py Fri Aug 13 13:11:41 2010 -0300 +++ b/mercurial/ui.py Wed Aug 11 20:28:39 2010 +0800 @@ -218,7 +218,7 @@ def _configlist(s): s = s.rstrip(' ,') if not s: - return None + return [] parser, parts, offset = _parse_plain, [''], 0 while parser: parser, parts, offset = parser(parts, s, offset)