~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/scripts/garbo.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-06 12:11:50 UTC
  • mfrom: (14625.2.7 gina-dsc-binaries)
  • Revision ID: launchpad@pqm.canonical.com-20120106121150-e0bucmb5qeyytnn9
[r=wgrant][bug=911943] Fix SourcePackageReleaseDscBinariesUpdater:
        round chunk_size to int (and document this issue).

Show diffs side-by-side

added added

removed removed

Lines of Context:
927
927
 
928
928
    def __call__(self, chunk_size):
929
929
        """See `TunableLoop`."""
 
930
        chunk_size = int(chunk_size + 0.5)
930
931
        chunk_ids = self.ids[:chunk_size]
931
932
        del self.ids[:chunk_size]
932
933
        self.store.execute("""