summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Smith <daniel.smith@ericsson.com>2016-04-06 12:59:16 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-04-06 12:59:16 +0000
commit6db62b1d721da2e1b19c4600479c1809257608d4 (patch)
treebe34129e501a1b0b8d74bda8e7368e018ba0f8ba
parenta2cc23055bcbf550de2d2f3d2dd8bf0893449853 (diff)
parent198a3d306d8f97d3c896a5f3380aba4b4a2b3cf3 (diff)
Merge "Fix for breaking deployment."
-rw-r--r--deploy/environments/execution_environment.py2
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