public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] proj/R_overlay:master commit in: roverlay/config/
@ 2018-05-30  5:31 99% Benda XU
  0 siblings, 0 replies; 1+ results
From: Benda XU @ 2018-05-30  5:31 UTC (permalink / raw
  To: gentoo-commits

commit:     9266d275e95b3cefd8b93828dd4a3952959b9ac8
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed May 30 05:23:08 2018 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed May 30 05:23:08 2018 +0000
URL:        https://gitweb.gentoo.org/proj/R_overlay.git/commit/?id=9266d275

const.py: do not split on ',' inside a pair of '()'.

 roverlay/config/const.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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',
    ),
 


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-05-30  5:31 99% [gentoo-commits] proj/R_overlay:master commit in: roverlay/config/ Benda XU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox