~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/archivepublisher/utils.py

Merge with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
        end = start + chunk_size
110
110
 
111
111
        # The reason why we listify the sliced ResultSet is because we
112
 
        # cannot very it's size using 'count' (see bug #217644). However,
 
112
        # cannot very it's size using 'count' (see bug #217644 and note
 
113
        # that it was fixed in storm but not SQLObjectResultSet). However,
113
114
        # It's not exactly a problem considering non-empty set will be
114
115
        # iterated anyway.
115
116
        batch = list(self.input[start:end])