diff options
| author | Michael Still <mikal@stillhq.com> | 2013-03-11 23:51:29 +1100 |
|---|---|---|
| committer | Michael Still <mikal@stillhq.com> | 2013-03-11 23:51:29 +1100 |
| commit | e78528e113c3a8bb8900052f6db2c0ca2c05c9f9 (patch) | |
| tree | 3f5d6801604f94c8229e9b416b0d3d6936a2661c | |
| parent | 8c96d09ba3c12939d61e980474b75f9173ce6a63 (diff) | |
| download | nova-e78528e113c3a8bb8900052f6db2c0ca2c05c9f9.tar.gz nova-e78528e113c3a8bb8900052f6db2c0ca2c05c9f9.tar.xz nova-e78528e113c3a8bb8900052f6db2c0ca2c05c9f9.zip | |
Rewrap two lines.
No functional changes. This just makes grepping for qemu-img calls a bit easier.
Change-Id: Ifa91a981975bc3766a0f701ee72e5718ff4bec68
| -rwxr-xr-x | nova/virt/libvirt/utils.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/nova/virt/libvirt/utils.py b/nova/virt/libvirt/utils.py index 808560b54..fc73c2759 100755 --- a/nova/virt/libvirt/utils.py +++ b/nova/virt/libvirt/utils.py @@ -455,11 +455,7 @@ def create_snapshot(disk_path, snapshot_name): :param disk_path: Path to disk image :param snapshot_name: Name of snapshot in disk image """ - qemu_img_cmd = ('qemu-img', - 'snapshot', - '-c', - snapshot_name, - disk_path) + qemu_img_cmd = ('qemu-img', 'snapshot', '-c', snapshot_name, disk_path) # NOTE(vish): libvirt changes ownership of images execute(*qemu_img_cmd, run_as_root=True) @@ -470,11 +466,7 @@ def delete_snapshot(disk_path, snapshot_name): :param disk_path: Path to disk image :param snapshot_name: Name of snapshot in disk image """ - qemu_img_cmd = ('qemu-img', - 'snapshot', - '-d', - snapshot_name, - disk_path) + qemu_img_cmd = ('qemu-img', 'snapshot', '-d', snapshot_name, disk_path) # NOTE(vish): libvirt changes ownership of images execute(*qemu_img_cmd, run_as_root=True) |
