~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/code-import-worker-monitor.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-27 03:35:53 UTC
  • mto: This revision was merged to the branch mainline in revision 13810.
  • Revision ID: jelmer@canonical.com-20110827033553-lwhg20e1bnj4hx7j
Fix arguments to CodeImportWorkerMonitor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
    def _main(self, job_id):
66
66
        worker = CodeImportWorkerMonitor(
67
67
            job_id, self.logger,
68
 
            xmlrpc.Proxy(config.codeimportdispatcher.codeimportscheduler_url))
 
68
            xmlrpc.Proxy(config.codeimportdispatcher.codeimportscheduler_url),
 
69
            self.options.access_policy)
69
70
        return worker.run()
70
71
 
71
72
if __name__ == '__main__':