[zope2-tracker] [Bug 926278] Re: column iteration regression

srepmub 926278 at bugs.launchpad.net
Fri Feb 3 19:41:07 UTC 2012


I have no idea if this will break other things, but adding __iter__ here at least fixes my test case:
 
Products.ZSQLMethods-2.13.4-py2.7.egg/Shared/DC/ZRDB/Results.py:

      class r(Record, Implicit, brains, zbrains):
            'Result record class'

+            def __iter__(self):
+               return iter([self[i] for i in range(len(self))])

-- 
You received this bug notification because you are a member of Zope 2
Developers, which is the registrant for Acquisition.
https://bugs.launchpad.net/bugs/926278

Title:
  column iteration regression

To manage notifications about this bug go to:
https://bugs.launchpad.net/acquisition/+bug/926278/+subscriptions


More information about the zope2-tracker mailing list