hunk.code_window:         report_struct = None
           while True:
               report_struct = dispatch_rpc('report', 'report_get', [
                   request.session.db, request.session.uid, request.session.password, report_id])
               if report_struct["state"]:
                   break
               time.sleep(self.POLLING_DELAY)
  
hunk.labels: keep keep keep replace replace keep keep keep keep keep
hunk.after_edit:             report_struct = exp_report_get(request.session.db, request.session.uid, report_id)
  
hunk.file_path: addons/web/controllers/main.py
hunk.type: replace
file: # -*- coding: utf-8 -*-
  # Part of Odoo. See LICENSE file for full copyright and licensing details.
  
  from . import main
  