diff options
author | Daniel Watkins <daniel.watkins@canonical.com> | 2015-02-11 10:33:00 +0000 |
---|---|---|
committer | Daniel Watkins <daniel.watkins@canonical.com> | 2015-02-11 10:33:00 +0000 |
commit | f38a2047731530dfa796056c6b1a07d2a9158e66 (patch) | |
tree | d9c3450b9768fcfebbc029e24b4dbbd835c4049e /cloudinit | |
parent | cd632b2f153a61faa48531cb41d0288650e72c71 (diff) | |
download | vyos-cloud-init-f38a2047731530dfa796056c6b1a07d2a9158e66.tar.gz vyos-cloud-init-f38a2047731530dfa796056c6b1a07d2a9158e66.zip |
Fix reference to non-existent variable.
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/util.py | 4 |
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("/"): |