diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-02-13 16:04:03 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-02-13 16:04:03 -0500 |
commit | 9c224b8bbe5e133fca00d04d070337ffed23bbd9 (patch) | |
tree | 83a165fa818728c6ce438873c2a097f15511f738 /cloudinit/config/cc_disk_setup.py | |
parent | 32959f97d611979b111513e9ff753db5b5e83447 (diff) | |
download | vyos-cloud-init-9c224b8bbe5e133fca00d04d070337ffed23bbd9.tar.gz vyos-cloud-init-9c224b8bbe5e133fca00d04d070337ffed23bbd9.zip |
fix usage of python2 'print'
Diffstat (limited to 'cloudinit/config/cc_disk_setup.py')
-rw-r--r-- | cloudinit/config/cc_disk_setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_disk_setup.py b/cloudinit/config/cc_disk_setup.py index d8553167..f899210b 100644 --- a/cloudinit/config/cc_disk_setup.py +++ b/cloudinit/config/cc_disk_setup.py @@ -618,7 +618,7 @@ def exec_mkpart_gpt(device, layout): [SGDISK_CMD, '-t', '{}:{}'.format(index, partition_type), device]) except Exception: - print "Failed to partition device %s" % (device,) + LOG.warn("Failed to partition device %s" % device) raise |