From: Fred L. D. <fd...@us...> - 2003-07-11 17:51:37
|
Update of /cvsroot/cvs-syncmail/syncmail In directory sc8-pr-cvs1:/tmp/cvs-serv25120 Modified Files: Tag: new-config-branch syncmail Log Message: we only need to set SECTCRE, not OPTCRE Index: syncmail =================================================================== RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v retrieving revision 1.36.2.13 retrieving revision 1.36.2.14 diff -u -d -r1.36.2.13 -r1.36.2.14 --- syncmail 11 Jul 2003 17:41:41 -0000 1.36.2.13 +++ syncmail 11 Jul 2003 17:51:33 -0000 1.36.2.14 @@ -496,17 +496,8 @@ r'(?P<header>[^]]+)' # very permissive! r'\]' # ] ) - OPTCRE = re.compile( - r'(?P<option>[^:=\s][^:=]*)' # very permissive! - r'\s*(?P<vi>[:=])\s*' # any number of space/tab, - # followed by separator - # (either : or =), followed - # by any # space/tab - r'(?P<value>.*)$' # everything up to eol - ) # For compatibility with older versions: __SECTCRE = SECTCRE - __OPTCRE = OPTCRE cp = ConfigParser() # We have to use this old method for compatibility with |