diff options
author | Nikolas Hermanns <nikolas.hermanns@ericsson.com> | 2016-04-06 11:47:44 +0200 |
---|---|---|
committer | Nikolas Hermanns <nikolas.hermanns@ericsson.com> | 2016-04-06 11:52:20 +0200 |
commit | 198a3d306d8f97d3c896a5f3380aba4b4a2b3cf3 (patch) | |
tree | 540239f1c223d2d0f60e89711c94c6b22426aee8 /deploy/environments/execution_environment.py | |
parent | 27120b363ddd3df5474314204def6607871cad6e (diff) |
Fix for breaking deployment.
If no vm definition is give,
nothing should happen.
Change-Id: I1fd01ef43fa3e5eab4a794c63254eaf6d80fc951
Diffstat (limited to 'deploy/environments/execution_environment.py')
-rw-r--r-- | deploy/environments/execution_environment.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |