diff options
author | Nikolas Hermanns <nikolas.hermanns@ericsson.com> | 2016-04-06 11:47:44 +0200 |
---|---|---|
committer | Jonas Bjurel <jonas.bjurel@ericsson.com> | 2016-04-10 18:49:51 +0200 |
commit | c14188252b4dec575f3349e0fe5eaf065c0820da (patch) | |
tree | cba90487ecbc7357ef1b17e5a58d7ac4e51b4797 | |
parent | 875d2f23d76d4dfb4f962f578aaae7bc089af5a7 (diff) |
Fix for breaking deployment.
If no vm definition is give,
nothing should happen.
Change-Id: I1fd01ef43fa3e5eab4a794c63254eaf6d80fc951
-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 |