Esempio n. 1
0
 def shouldStopExecution(self):
     return not self.buildSpec[
         'show_stop_warning'] or modals.confirmForceStop()
Esempio n. 2
0
 def onStopExecution(self):
     """Displays a scary message and then force-quits the executing
     client code if the user accepts"""
     if self.buildSpec['show_stop_warning'] and modals.confirmForceStop():
         self.clientRunner.stop()
Esempio n. 3
0
 def onStopExecution(self):
     """Displays a scary message and then force-quits the executing
     client code if the user accepts"""
     if self.buildSpec['show_stop_warning'] and modals.confirmForceStop():
         self.clientRunner.stop()