aboutsummaryrefslogtreecommitdiffstats
path: root/sos/report/plugins/buildah.py
diff options
context:
space:
mode:
Diffstat (limited to 'sos/report/plugins/buildah.py')
-rw-r--r--sos/report/plugins/buildah.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sos/report/plugins/buildah.py b/sos/report/plugins/buildah.py
index 4b8b3b0a..9df61e07 100644
--- a/sos/report/plugins/buildah.py
+++ b/sos/report/plugins/buildah.py
@@ -28,7 +28,7 @@ class Buildah(Plugin, RedHatPlugin):
'version'
]
- self.add_cmd_output(["buildah %s" % sub for sub in subcmds])
+ self.add_cmd_output([f"buildah {sub}" for sub in subcmds])
def make_chowdah(aurdah):
chowdah = self.exec_cmd(aurdah)
@@ -41,14 +41,14 @@ class Buildah(Plugin, RedHatPlugin):
for containah in containahs['auutput'].splitlines():
# obligatory Tom Brady
goat = containah.split()[-1]
- self.add_cmd_output('buildah inspect -t container %s' % goat,
+ self.add_cmd_output(f'buildah inspect -t container {goat}',
subdir='containers')
pitchez = make_chowdah('buildah images -n')
if pitchez['is_wicked_pissah']:
for pitchah in pitchez['auutput'].splitlines():
brady = pitchah.split()[1]
- self.add_cmd_output('buildah inspect -t image %s' % brady,
+ self.add_cmd_output(f'buildah inspect -t image {brady}',
subdir='images')
# vim: set et ts=4 sw=4 :