summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-03-03 20:56:32 -0500
committerScott Moser <smoser@ubuntu.com>2013-03-03 20:56:32 -0500
commit1d015f6ec3284287ad1383d0e2d9a264128f23eb (patch)
treedf4df61a75a885157e18a1c07656b33a81eb2c5d
parent368d2ba20a1ea7a97bf7186493b17be429a031d4 (diff)
downloadvyos-cloud-init-1d015f6ec3284287ad1383d0e2d9a264128f23eb.tar.gz
vyos-cloud-init-1d015f6ec3284287ad1383d0e2d9a264128f23eb.zip
add default log value to get_mount_info
-rw-r--r--cloudinit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 1e9ca5d9..d0a6f81c 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -1588,7 +1588,7 @@ def expand_package_list(version_fmt, pkgs):
return pkglist
-def get_mount_info(path, log):
+def get_mount_info(path, log=LOG):
# Use /proc/$$/mountinfo to find the device where path is mounted.
# This is done because with a btrfs filesystem using os.stat(path)
# does not return the ID of the device.