summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLachlan Mackenzie <lachlan.mackenzie@codethink.co.uk>2020-01-10 15:56:23 +0000
committerLachlan Mackenzie <lachlan.mackenzie@codethink.co.uk>2020-02-10 12:07:09 +0000
commite11fd57f1361a98630b4a822b8d0e641798e48e3 (patch)
treebd4c6d69704c17af2f02f1cb3e741827d6e2a993
parent6386122569794bf7531c4bece7fdbf51a702ddf7 (diff)
downloadbuildstream-lachlanmackenzie/CheckBotBehaviour.tar.gz
Revert "Add nominal del for version"lachlanmackenzie/CheckBotBehaviour
This reverts commit 85641efa827c1a59102ab10b040169a0e1f2212c.
-rw-r--r--src/buildstream/_frontend/cli.py4
1 files changed, 0 insertions, 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)