~unifield-team/unifield-server/trunk

« back to all changes in this revision

Viewing changes to bin/addons/msf_doc_import/wizard/wizard_po_simulation_screen.py

  • Committer: jf
  • Date: 2021-05-05 12:53:39 UTC
  • Revision ID: jfb@tempo-consulting.fr-20210505125339-khk8ekzthzc7y023
py3: thread is_alive

Show diffs side-by-side

added added

removed removed

Lines of Context:
1189
1189
            new_thread.start()
1190
1190
            new_thread.join(10.0)
1191
1191
 
1192
 
            if new_thread.isAlive():
 
1192
            if new_thread.is_alive():
1193
1193
                return self.go_to_simulation(cr, uid, ids, context=context)
1194
1194
            else:
1195
1195
                state = self.read(cr, uid, ids[0], ['state'], context=context)