Exemple #1
0
    def do_quit(self, arg):
        self.trigger_quit()
        logger.info('Waiting for thread termination')

        time.sleep(1)
        logger.info('Quitting')
        return Cmd.do_quit(self, arg)
Exemple #2
0
    def do_quit(self, arg):
        self.running = False
        self.stop_event.set()
        logger.info('Waiting for thread termination')

        Core.write_configuration(self.config)

        time.sleep(1)
        logger.info('Quitting')
        return Cmd.do_quit(self, arg)
Exemple #3
0
 def do_ignore(self, arg=None):
     print "Ignoring {}".format(self.spec)
     RehashUI.ignored_specs.add(self.spec)
     return Cmd.do_quit(self, arg)
Exemple #4
0
 def do_end(self, arg=None):
     print "Quitting..."
     return Cmd.do_quit(self, arg)
Exemple #5
0
 def do_quit(self, arg=None):
     print "Quitting..."
     RehashUI.user_quit = True
     return Cmd.do_quit(self, arg)
Exemple #6
0
 def do_quit(self, arg):
     self.my_session.terminate()
     Cmd.do_quit(self, arg)
Exemple #7
0
 def do_quit(self, arg):
     self.my_session.terminate()
     Cmd.do_quit(self, arg)