From: Nikolas Hermanns Date: Wed, 6 Apr 2016 09:47:44 +0000 (+0200) Subject: Fix for breaking deployment. X-Git-Tag: brahmaputra.3.0~10 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=c14188252b4dec575f3349e0fe5eaf065c0820da;p=fuel.git Fix for breaking deployment. If no vm definition is give, nothing should happen. Change-Id: I1fd01ef43fa3e5eab4a794c63254eaf6d80fc951 --- 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