From d6dd0f2f6b16d5b0deaf0c6d940d4e36bfd5faa9 Mon Sep 17 00:00:00 2001 From: Andrei Stepanov Date: Sep 20 2018 10:22:01 +0000 Subject: Merge #261 `Fix standard-inventory-qcow2 to pass code complying checks.` --- diff --git a/inventory/standard-inventory-qcow2 b/inventory/standard-inventory-qcow2 index b47e5fa..f317794 100755 --- a/inventory/standard-inventory-qcow2 +++ b/inventory/standard-inventory-qcow2 @@ -277,7 +277,7 @@ class AdditionalDrives(object): drive_file = tempfile.NamedTemporaryFile(dir=path) drive_file.truncate(size) cls._tempfiles.append({'file': drive_file, 'path': path}) - logger.info("Created temporary sparse file '%s'." %drive_file.name) + logger.info("Created temporary sparse file '%s'." % drive_file.name) # translate data into qemu command options result += ["-drive", "file=%s,media=disk,if=virtio" % drive_file.name]