diff options
author | Benda Xu <heroxbd@gentoo.org> | 2018-05-30 13:23:08 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2018-05-30 13:23:08 +0800 |
commit | 9266d275e95b3cefd8b93828dd4a3952959b9ac8 (patch) | |
tree | 6eeb5dbe1a8e1d1a3e913e57413310f5a0730e9c /roverlay/config/const.py | |
parent | Drop python2 support in tests. (diff) | |
download | R_overlay-9266d275e95b3cefd8b93828dd4a3952959b9ac8.tar.gz R_overlay-9266d275e95b3cefd8b93828dd4a3952959b9ac8.tar.bz2 R_overlay-9266d275e95b3cefd8b93828dd4a3952959b9ac8.zip |
const.py: do not split on ',' inside a pair of '()'.
Diffstat (limited to 'roverlay/config/const.py')
-rw-r--r-- | roverlay/config/const.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roverlay/config/const.py b/roverlay/config/const.py index 2235ab5..68856b6 100644 --- a/roverlay/config/const.py +++ b/roverlay/config/const.py @@ -33,7 +33,7 @@ _CONSTANTS = dict ( DESCRIPTION = dict ( field_separator = ':', comment_chars = '#;', - list_split_regex = '\s*[,;]{1}\s*', + list_split_regex = '\s*[,;]{1}\s*(?![^\(]*\))', file_name = 'DESCRIPTION', ), |