1 |
commit: 9266d275e95b3cefd8b93828dd4a3952959b9ac8 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 30 05:23:08 2018 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 30 05:23:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/R_overlay.git/commit/?id=9266d275 |
7 |
|
8 |
const.py: do not split on ',' inside a pair of '()'. |
9 |
|
10 |
roverlay/config/const.py | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/roverlay/config/const.py b/roverlay/config/const.py |
14 |
index 2235ab5..68856b6 100644 |
15 |
--- a/roverlay/config/const.py |
16 |
+++ b/roverlay/config/const.py |
17 |
@@ -33,7 +33,7 @@ _CONSTANTS = dict ( |
18 |
DESCRIPTION = dict ( |
19 |
field_separator = ':', |
20 |
comment_chars = '#;', |
21 |
- list_split_regex = '\s*[,;]{1}\s*', |
22 |
+ list_split_regex = '\s*[,;]{1}\s*(?![^\(]*\))', |
23 |
file_name = 'DESCRIPTION', |
24 |
), |