summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSalvatore Orlando <salvatore.orlando@eu.citrix.com>2010-12-15 17:35:56 +0000
committerSalvatore Orlando <salvatore.orlando@eu.citrix.com>2010-12-15 17:35:56 +0000
commit9308d57ee06baab7eda304d0456544d1f9e587f0 (patch)
treef333f33cb35c39d0104b06a7c2e80d925ae0e746 /plugins
parenteaf463e4cc15820a5a8b91a31266fee02438c2c9 (diff)
downloadnova-9308d57ee06baab7eda304d0456544d1f9e587f0.tar.gz
nova-9308d57ee06baab7eda304d0456544d1f9e587f0.tar.xz
nova-9308d57ee06baab7eda304d0456544d1f9e587f0.zip
final cleanup
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xenapi/etc/xapi.d/plugins/objectstore2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xenapi/etc/xapi.d/plugins/objectstore b/plugins/xenapi/etc/xapi.d/plugins/objectstore
index c78f0b1d8..e17f1ba13 100644
--- a/plugins/xenapi/etc/xapi.d/plugins/objectstore
+++ b/plugins/xenapi/etc/xapi.d/plugins/objectstore
@@ -101,7 +101,7 @@ def get_vdi_(proto, netloc, url_path, username, password, add_partition,raw_imag
if (add_partition and not raw_image):
write_partition(virtual_size, dest)
- offset = (add_partition and MBR_SIZE_BYTES and not raw_image) or 0
+ offset = (add_partition and not raw_image and MBR_SIZE_BYTES) or 0
get(proto, netloc, url_path, username, password, dest, offset)