[Bug 341350] severe limitations in xen-tools python scripts