curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #03814
[Merge] ~ogayot/curtin:failed-to-find-device-fix into curtin:master
Olivier Gayot has proposed merging ~ogayot/curtin:failed-to-find-device-fix into curtin:master.
Commit message:
block: fix missing string interpolation in error message
Requested reviews:
curtin developers (curtin-dev)
For more details, see:
https://code.launchpad.net/~ogayot/curtin/+git/curtin/+merge/480579
--
Your team curtin developers is requested to review the proposed merge of ~ogayot/curtin:failed-to-find-device-fix into curtin:master.
diff --git a/curtin/commands/block_meta.py b/curtin/commands/block_meta.py
index 7506c4a..5749647 100644
--- a/curtin/commands/block_meta.py
+++ b/curtin/commands/block_meta.py
@@ -245,7 +245,7 @@ def devsync(devpath):
else:
LOG.debug('Waiting on device path: %s', devpath)
time.sleep(1)
- raise OSError('Failed to find device at path: %s', devpath)
+ raise OSError('Failed to find device at path: %s' % devpath)
def determine_partition_number(partition_id, storage_config):
Follow ups