From e11fd57f1361a98630b4a822b8d0e641798e48e3 Mon Sep 17 00:00:00 2001 From: Lachlan Mackenzie Date: Fri, 10 Jan 2020 15:56:23 +0000 Subject: [PATCH] Revert "Add nominal del for version" This reverts commit 85641efa827c1a59102ab10b040169a0e1f2212c. --- src/buildstream/_frontend/cli.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/buildstream/_frontend/cli.py b/src/buildstream/_frontend/cli.py index 907c28fc8..52848ca2e 100644 --- a/src/buildstream/_frontend/cli.py +++ b/src/buildstream/_frontend/cli.py @@ -1,7 +1,6 @@ import multiprocessing import os import sys -import time from functools import partial import shutil @@ -183,7 +182,6 @@ def override_completions(orig_args, cmd, cmd_param, args, incomplete): """ if cmd.name == "help": - time.sleep(10) return complete_commands(cmd, args, incomplete) # We can't easily extend click's data structures without @@ -298,7 +296,6 @@ def print_version(ctx, param, value): from .. import __version__ - time.sleep(10) click.echo(__version__) ctx.exit() @@ -397,7 +394,6 @@ def cli(context, **kwargs): def help_command(ctx, command): """Print usage information about a given command """ - time.sleep(10) command_ctx = search_command(command, context=ctx.parent) if not command_ctx: click.echo("Not a valid command: '{} {}'".format(ctx.parent.info_name, " ".join(command)), err=True)