generate: container: Remove command_join()
It is not used anywhere, so it can be safely removed. Signed-off-by: Enno Tensing <tenno@suij.in>
This commit is contained in:
parent
6963fdea2a
commit
ca9d914449
1 changed files with 0 additions and 9 deletions
|
@ -44,15 +44,6 @@ def maybe(json: dict, key: str) -> str | dict | list | bool | None:
|
|||
return None
|
||||
|
||||
|
||||
def command_join(items: list | None) -> str:
|
||||
"""Like join(), but call command()."""
|
||||
joined = ""
|
||||
if items is not None:
|
||||
for item in items:
|
||||
joined += " " + item.command()
|
||||
return joined
|
||||
|
||||
|
||||
def trim(s: str) -> str:
|
||||
"""Remove sequential whitespace."""
|
||||
s = s.replace("\t ", "\t")
|
||||
|
|
Loading…
Add table
Reference in a new issue