[PyWebMail-Checkins] webmail/webmail/client/config/parse list_helpers.py, 1.16, 1.17
Status: Beta
Brought to you by:
dubnerm
From: Michael D. <du...@us...> - 2008-03-07 20:38:33
|
Update of /cvsroot/pywebmail/webmail/webmail/client/config/parse In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21642 Modified Files: list_helpers.py Log Message: Try to avoid stack problems in Jython Index: list_helpers.py =================================================================== RCS file: /cvsroot/pywebmail/webmail/webmail/client/config/parse/list_helpers.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** list_helpers.py 17 Jul 2007 20:40:46 -0000 1.16 --- list_helpers.py 7 Mar 2008 20:38:36 -0000 1.17 *************** *** 144,148 **** #@endif assert type(file)==type(''), repr(file) ! t.sub(_get, file) return res test = None --- 144,154 ---- #@endif assert type(file)==type(''), repr(file) ! # Try to avoid stack problems in Jython - seems not helped ! if hasattr(t, 'finditer'): ! for m in t.finditer(file): ! _get(m) ! # To support backward compatibility (<2.2) ! else: ! t.sub(_get, file) return res test = None |