~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/hardwaredb/scripts/hwdbsubmissions.py

  • Committer: Henning Eggers
  • Date: 2011-09-01 15:03:40 UTC
  • mto: This revision was merged to the branch mainline in revision 13871.
  • Revision ID: henning@canonical.com-20110901150340-5nzfadkqfl0a90hy
Move start parameter even more.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3062
3062
 
3063
3063
class ProcessingLoopForReprocessingBadSubmissions(ProcessingLoopBase):
3064
3064
 
3065
 
    def __init__(self, transaction, logger, max_submissions, record_warnings,
3066
 
                 start):
 
3065
    def __init__(self, start, transaction, logger,
 
3066
                 max_submissions, record_warnings):
3067
3067
        super(ProcessingLoopForReprocessingBadSubmissions, self).__init__(
3068
3068
            transaction, logger, max_submissions, record_warnings)
3069
3069
        self.start = start
3106
3106
    variant of the parser might be able to process them.
3107
3107
    """
3108
3108
    loop = ProcessingLoopForReprocessingBadSubmissions(
3109
 
        transaction, logger, max_submissions, record_warnings, start)
 
3109
        start, transaction, logger, max_submissions, record_warnings)
3110
3110
    # It is hard to predict how long it will take to parse a submission.
3111
3111
    # we don't want to last a DB transaction too long but we also
3112
3112
    # don't want to commit more often than necessary. The LoopTuner