~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Colin Watson
  • Date: 2012-01-06 11:52:07 UTC
  • mto: This revision was merged to the branch mainline in revision 14646.
  • Revision ID: cjwatson@canonical.com-20120106115207-tf2lyncxv085pclt
Fix SourcePackageReleaseDscBinariesUpdater: round chunk_size to int.

Show diffs side-by-side

added added

removed removed

Lines of Context:
901
901
 
902
902
    def __call__(self, chunk_size):
903
903
        """See `TunableLoop`."""
 
904
        chunk_size = int(chunk_size + 0.5)
904
905
        chunk_ids = self.ids[:chunk_size]
905
906
        del self.ids[:chunk_size]
906
907
        self.store.execute("""