From e78528e113c3a8bb8900052f6db2c0ca2c05c9f9 Mon Sep 17 00:00:00 2001 From: Michael Still Date: Mon, 11 Mar 2013 23:51:29 +1100 Subject: Rewrap two lines. No functional changes. This just makes grepping for qemu-img calls a bit easier. Change-Id: Ifa91a981975bc3766a0f701ee72e5718ff4bec68 --- nova/virt/libvirt/utils.py | 12 ++---------- 1 file 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) -- cgit