summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index b845adfd..d63b4bf2 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -1481,8 +1481,8 @@ def mount_cb(device, callback, data=None, rw=False, mtype=None, sync=True):
device, mtype, exc)
pass
if not mountpoint:
- raise MountFailedError("Failed mounting %s to %s due to: %s" %
- (device, tmpd, exc))
+ raise MountFailedError(
+ "Failed mounting %s to %s".format(device, tmpd))
# Be nice and ensure it ends with a slash
if not mountpoint.endswith("/"):