1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-07-05 08:59:36 +03:00

setup: remove unnecessary f-string

The whole content of this f-string is a variable, so use that variable
directly.

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
Pino Toscano
2023-09-23 10:17:28 +02:00
committed by Daniel P. Berrangé
parent 2c8339b44c
commit bf83c2b236

View File

@ -50,7 +50,7 @@ def have_libvirt_lxc():
def get_pkgconfig_data(args, mod, required=True):
"""Run pkg-config to and return content associated with it"""
cmd = ["pkg-config"] + args + [f"{mod}"]
cmd = ["pkg-config"] + args + [mod]
with subprocess.Popen(cmd,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,