[Zope-Checkins] CVS: Zope2 - Aqueduct.py:1.48
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Tue, 1 May 2001 16:09:00 -0400
Update of /cvs-repository/Zope2/lib/python/Shared/DC/ZRDB
In directory serenade.digicool.com:/tmp/cvs-serv15419/DC/ZRDB
Modified Files:
Aqueduct.py
Log Message:
fixed wrong re conversion
--- Updated File Aqueduct.py in package Zope2 --
--- Aqueduct.py 2001/04/28 07:21:59 1.47
+++ Aqueduct.py 2001/05/01 20:09:00 1.48
@@ -359,20 +359,20 @@
mo = parmre.match(text)
if mo:
- name=mo.group(1)
- value={'default':mo.group(2)}
- l=len(mo.group(0))
+ name=mo.group(2)
+ value={'default':mo.group(3)}
+ l=len(mo.group(1))
else:
mo = qparmre.match(text)
if mo:
- name=mo.group(0)
- value={'default':mo.group(2)}
- l=len(mo.group(0))
+ name=mo.group(1)
+ value={'default':mo.group(3)}
+ l=len(mo.group(2))
else:
mo = unparmre.match(text)
if ts_results:
- name=mo.group(1)
- l=len(mo.group(0))
+ name=mo.group(2)
+ l=len(mo.group(1))
value={}
else:
if not text or not strip(text): return Args(result,keys)