diff --git a/tools/marvin/marvin/marvinInit.py b/tools/marvin/marvin/marvinInit.py index ce9b43f1ad0..56ea5098135 100644 --- a/tools/marvin/marvin/marvinInit.py +++ b/tools/marvin/marvin/marvinInit.py @@ -111,7 +111,7 @@ class MarvinInit: if not self.__hypervisorType: self.__hypervisorType = XEN_SERVER if not self.__zoneForTests: - if self.__parsedConfig: + if self.__parsedConfig and self.__parsedConfig.zones is not None: for zone in self.__parsedConfig.zones: self.__zoneForTests = zone.name break