def stop(self): if self.isRunning(): self.proc.stdin.write(u'quit\n') gevent.sleep(5) Gameinstace.stop(self)
def __init__(self, installed_app, instance_name): ''' Constructor ''' self.last_status = 0 Gameinstace.__init__(self, installed_app, instance_name)