def __init__(self): if _debug: Shell._debug("__init__") global args prompt = args.prompt if args.args: command_input = StringIO(' '.join(args.args)) # turn off raw input self.use_rawinput = False # continue with initialization ConsoleCmd.__init__(self, stdin=command_input, prompt='') # turn off interactive (bug in ConsoleCmd) self.interactive = False else: ConsoleCmd.__init__(self, prompt=args.prompt)
def __init__(self): Client.__init__(self) Server.__init__(self) ConsoleCmd.__init__(self)
def __init__(self): if _debug: ConsoleClient._debug("__init__") ConsoleCmd.__init__(self) # no current request self.req = None
def __init__(self, controller): if _debug: ConsoleClient._debug("__init__ %r", controller) ConsoleCmd.__init__(self) # save the controller self.controller = controller