[Zope-dev] Collector bug 2410

Andy McKay andym@ActiveState.com
Mon, 16 Jul 2001 16:39:05 -0700


Patch for http://classic.zope.org:8080/Collector/2410/view figured out the
solution after sending in the bug. Zope 2.4 b3.

--- d:\Zope-2.4.0b3-src\lib\python\Shared\DC\ZRDB\Aqueduct.py   Wed May 16
15:13
:00 2001
+++ d:\Zope24\lib\python\Shared\DC\ZRDB\Aqueduct.py     Mon Jul 16 16:37:13
2001

@@ -365,9 +365,9 @@
     else:
         mo = qparmre.match(text)
         if mo:
-                name=mo.group(1)
+                name=mo.group(2)
                 value={'default':mo.group(3)}
-                l=len(mo.group(2))
+                l=len(mo.group(1))
         else:
             mo = unparmre.match(text)
             if mo:

Cheers.
--
  Andy McKay.