From 198a3d306d8f97d3c896a5f3380aba4b4a2b3cf3 Mon Sep 17 00:00:00 2001 From: Nikolas Hermanns Date: Wed, 6 Apr 2016 11:47:44 +0200 Subject: Fix for breaking deployment. If no vm definition is give, nothing should happen. Change-Id: I1fd01ef43fa3e5eab4a794c63254eaf6d80fc951 --- deploy/environments/execution_environment.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'deploy') diff --git a/deploy/environments/execution_environment.py b/deploy/environments/execution_environment.py index 2a4e39e08..af0e130dd 100644 --- a/deploy/environments/execution_environment.py +++ b/deploy/environments/execution_environment.py @@ -51,6 +51,8 @@ class ExecutionEnvironment(object): delete(file) def overwrite_xml(self, vm_xml, vm_definition_overwrite): + if not vm_definition_overwrite: + return for key, value in vm_definition_overwrite.iteritems(): if key == 'attribute_equlas': continue -- cgit 1.2.3-korg