There was an error while loading. Please reload this page.
1 parent c8f9495 commit 4b04692Copy full SHA for 4b04692
sr/comp/cli/fetch.py
@@ -36,11 +36,13 @@ def command(args: argparse.Namespace) -> None:
36
37
# In case of error `get_current_state` prints the error and returns `None`.
38
state = get_current_state(host)
39
+ print(ENDC, end='')
40
+ sys.stdout.flush()
41
if not state:
42
continue
43
44
compstate.fetch(ref_compstate(host), [state], quiet=True)
- print(f"{ENDC}{state} fetched.")
45
+ print(f"{state} fetched.")
46
47
48
def add_subparser(subparsers: argparse._SubParsersAction[argparse.ArgumentParser]) -> None:
0 commit comments