diff options
| author | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2011-01-12 14:37:03 +0000 |
|---|---|---|
| committer | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2011-01-12 14:37:03 +0000 |
| commit | f3dba791b9f10fec759dce0fe4e2abc214e3fd61 (patch) | |
| tree | 3da7a832d1e20d519e234a942bb9ae14a818b043 /nova/virt | |
| parent | 32eac05776d18dcbde49aa022f149fd597907cbe (diff) | |
| download | nova-f3dba791b9f10fec759dce0fe4e2abc214e3fd61.tar.gz nova-f3dba791b9f10fec759dce0fe4e2abc214e3fd61.tar.xz nova-f3dba791b9f10fec759dce0fe4e2abc214e3fd61.zip | |
pep8 fixes
Diffstat (limited to 'nova/virt')
| -rw-r--r-- | nova/virt/xenapi/vm_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py index 4b8cec97b..6f19f5970 100644 --- a/nova/virt/xenapi/vm_utils.py +++ b/nova/virt/xenapi/vm_utils.py @@ -317,7 +317,7 @@ class VMHelper(HelperBase): vdi_size, False) with_vdi_attached_here(session, vdi, False, - lambda dev:_stream_disk(dev,image_file)) + lambda dev: _stream_disk(dev, image_file)) if (type == ImageType.KERNEL_RAMDISK): #we need to invoke a plugin for copying VDI's #content into proper path @@ -652,7 +652,7 @@ def get_this_vm_ref(session): return session.get_xenapi().VM.get_by_uuid(get_this_vm_uuid()) -def _stream_disk(dev,image_file): +def _stream_disk(dev, image_file): offset = 0 if type == ImageType.DISK: offset = MBR_SIZE_BYTES |
