try:
with open(self.recipe_file) as fobj:
self.raw_recipe = fobj.readlines()
except FileNotFoundError as error:
self.log.error("No such file: {}".format(vm_xml_file))
try:
with open(self.recipe_file) as fobj:
self.raw_recipe = fobj.readlines()
except FileNotFoundError as error:
self.log.error("No such file: {}".format(vm_xml_file))