%s
This commit is contained in:
parent
844543f755
commit
e0da3ad50c
2 changed files with 8 additions and 8 deletions
|
@ -26,10 +26,10 @@ def clone_project_branch() -> None:
|
|||
split()
|
||||
log.info(project)
|
||||
split()
|
||||
log.info(f"""\
|
||||
{project.url}
|
||||
log.info("""\
|
||||
%s
|
||||
↓
|
||||
""")
|
||||
""", project.url)
|
||||
run(
|
||||
"git",
|
||||
"clone",
|
||||
|
@ -83,9 +83,9 @@ def list_environment_variables() -> None:
|
|||
step("List environment variables")
|
||||
for variable, value in sorted(projects.environment.items()):
|
||||
if variable not in ["SPCD", "SPCD_SSH_KEY"]:
|
||||
log.info(f"{variable} = {value}")
|
||||
log.info("%s = %s", variable, value)
|
||||
else:
|
||||
log.info(f"{variable}")
|
||||
log.info("%s", variable)
|
||||
|
||||
|
||||
def main(main_file: str) -> None:
|
||||
|
|
|
@ -43,12 +43,12 @@ def cat(file: Path) -> None:
|
|||
|
||||
def frame(text: str) -> None:
|
||||
"""Open a new frame in the log output."""
|
||||
log.info(f"{env.SPCD_OPEN}{text}")
|
||||
log.info("%s%s", env.SPCD_OPEN, text)
|
||||
|
||||
|
||||
def shut(text: str) -> None:
|
||||
"""Close current frame in the log output."""
|
||||
log.info(f"{env.SPCD_SHUT}{text}")
|
||||
log.info("%s%s", env.SPCD_SHUT, text)
|
||||
|
||||
|
||||
def split() -> None:
|
||||
|
@ -60,5 +60,5 @@ def step(text: str) -> None:
|
|||
"""Increment the step number of the current build process."""
|
||||
shell.STEP += 1
|
||||
log.info(env.SPCD_DOWN)
|
||||
log.info(f"{env.SPCD_VERT} {shell.STEP} {text}")
|
||||
log.info("%s %s %s", env.SPCD_VERT, shell.STEP, text)
|
||||
log.info(env.SPCD___UP)
|
||||
|
|
Loading…
Reference in a new issue