aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation_new/specification_parser.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2019-01-07 09:56:41 +0100
committerTibor Frank <tifrank@cisco.com>2019-01-07 11:47:30 +0000
commitd1c1b27d17033799cd586a079820d708cc8a541c (patch)
treed306fba55a884dfae2354f91249d4f252754830e /resources/tools/presentation_new/specification_parser.py
parent38e9b40d1472549abe0f3836efc3bcaa408e90a1 (diff)
Trending: Add latest changes to the "new" dir
Change-Id: Ib5d1c9561c5d21f2d72b5c1b643c114f37bacd1a Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation_new/specification_parser.py')
-rw-r--r--resources/tools/presentation_new/specification_parser.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/tools/presentation_new/specification_parser.py b/resources/tools/presentation_new/specification_parser.py
index 83838d8212..97662899e3 100644
--- a/resources/tools/presentation_new/specification_parser.py
+++ b/resources/tools/presentation_new/specification_parser.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2018 Cisco and/or its affiliates.
+# Copyright (c) 2019 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -392,6 +392,12 @@ class Specification(object):
except KeyError:
self._specification["environment"]["build-dirs"] = None
+ try:
+ self._specification["environment"]["testbeds"] = \
+ self._cfg_yaml[idx]["testbeds"]
+ except KeyError:
+ self._specification["environment"]["testbeds"] = None
+
logging.info("Done.")
def _parse_configuration(self):