def run(self): self.admin.remove_command("shell") shell = KatelloShell(self.admin) shell.cmdloop() return os.EX_OK