summaryrefslogtreecommitdiff
path: root/cloudinit/mergers/str.py
diff options
context:
space:
mode:
authorBlair Zajac <blair@orcaware.com>2013-03-10 19:43:54 -0700
committerBlair Zajac <blair@orcaware.com>2013-03-10 19:43:54 -0700
commiteab08ade4bc56219e98bcc1d5568b75b6f4bb6ea (patch)
treea1cbec673aba78580f08c5c285fa60e0f3054f00 /cloudinit/mergers/str.py
parent73cba9d1f841020b0ee1304f204923d994dd5363 (diff)
downloadvyos-cloud-init-eab08ade4bc56219e98bcc1d5568b75b6f4bb6ea.tar.gz
vyos-cloud-init-eab08ade4bc56219e98bcc1d5568b75b6f4bb6ea.zip
Refactor util.get_mount_info() to facilitate unit testing.
Refactor the parsing portion of util.get_mount_info() into a new util.parse_mount_info() method. Now util.get_mount_info() opens /proc/$$/mountinfo, splits on newlines and passes the lines to util.parse_mount_info().
Diffstat (limited to 'cloudinit/mergers/str.py')
0 files changed, 0 insertions, 0 deletions