mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-07-30 23:41:52 +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:
committed by
Daniel P. Berrangé
parent
2c8339b44c
commit
bf83c2b236
2
setup.py
2
setup.py
@ -50,7 +50,7 @@ def have_libvirt_lxc():
|
|||||||
def get_pkgconfig_data(args, mod, required=True):
|
def get_pkgconfig_data(args, mod, required=True):
|
||||||
"""Run pkg-config to and return content associated with it"""
|
"""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,
|
with subprocess.Popen(cmd,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.STDOUT,
|
stderr=subprocess.STDOUT,
|
||||||
|
Reference in New Issue
Block a user