Skip to content

Commit

Permalink
Revert "Add nominal del for version"
Browse files Browse the repository at this point in the history
This reverts commit 85641efa827c1a59102ab10b040169a0e1f2212c.
  • Loading branch information
Lachlan Mackenzie committed Feb 10, 2020
1 parent 6386122 commit e11fd57
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/buildstream/_frontend/cli.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import multiprocessing
import os
import sys
import time
from functools import partial

import shutil
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -298,7 +296,6 @@ def print_version(ctx, param, value):

from .. import __version__

time.sleep(10)
click.echo(__version__)
ctx.exit()

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit e11fd57

Please sign in to comment.