Пример #1
0
 def shouldStopExecution(self):
     return not self.buildSpec[
         'show_stop_warning'] or modals.confirmForceStop()
Пример #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()
Пример #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()