[Xen-API] Fix the rtc/timeoffset entry.

It cannot be 'None' as this is not parseable by the Java xmlrpc
library.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-05-08 10:17:46 +01:00
1 parent 21bff006da
commit 82cd1fd00e
1 file changed
+4 -1
+4 -1
View File
@@ -867,7 +867,10 @@ class XendDomainInfo:
# convert two lists into a python dictionary
vm_details = dict(zip(cfg_vm, vm_details))
if vm_details['rtc/timeoffset'] == None:
vm_details['rtc/timeoffset'] = "0"
for arg, val in vm_details.items():
if arg in XendConfig.LEGACY_CFG_TO_XENAPI_CFG:
xapiarg = XendConfig.LEGACY_CFG_TO_XENAPI_CFG[arg]
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.