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)
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)
def do_ignore(self, arg=None): print "Ignoring {}".format(self.spec) RehashUI.ignored_specs.add(self.spec) return Cmd.do_quit(self, arg)
def do_end(self, arg=None): print "Quitting..." return Cmd.do_quit(self, arg)
def do_quit(self, arg=None): print "Quitting..." RehashUI.user_quit = True return Cmd.do_quit(self, arg)
def do_quit(self, arg): self.my_session.terminate() Cmd.do_quit(self, arg)