osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38284?usp=email )
Change subject: Cosmetic: testenv: fix line length ......................................................................
Cosmetic: testenv: fix line length
Run "ruff format", so there isn't a diff anymore when running it on future patches.
Change-Id: I766a07c6d54d0da11ad47acce1fc07b4b3a4801b --- M _testenv/testenv/podman.py 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve
diff --git a/_testenv/testenv/podman.py b/_testenv/testenv/podman.py index 53806a4..0ecf12d 100644 --- a/_testenv/testenv/podman.py +++ b/_testenv/testenv/podman.py @@ -132,8 +132,7 @@
def exec_cmd(cmd, podman_opts=[], cwd=None, env={}, *args, **kwargs): if not container_name: - raise RuntimeError("Attempting to execute a command in podman, but the" - f" container isn't running anymore: {cmd}") + raise RuntimeError(f"Attempting to execute a command in podman, but the container isn't running anymore: {cmd}")
podman_opts = list(podman_opts) podman_opts += generate_env_podman(env)