aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-02-05 13:57:47 -0500
committerBrian Freeman <bf1936@att.com>2019-02-05 14:00:24 -0500
commit5da423c6f623334c6b7001f74fd3f546809dee43 (patch)
tree63b4edcc8860dd4d898c33078db10b0330d86890 /robot/resources
parentee02b31d7cf9f52b09b78095f26f2f05241cc6b0 (diff)
Fix distribution Set If and correct time
Issue-ID: INT-829 Change-Id: Ia81234d06780af8c9e7278e791983d8f103be23f Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources')
-rw-r--r--robot/resources/asdc_interface.robot2
1 files changed, 1 insertions, 1 deletions
diff --git a/robot/resources/asdc_interface.robot b/robot/resources/asdc_interface.robot
index f2957763..f09ddf7b 100644
--- a/robot/resources/asdc_interface.robot
+++ b/robot/resources/asdc_interface.robot
@@ -90,7 +90,7 @@ Distribute Model From ASDC
\ ${loop_catalog_resource_id}= Setup ASDC Catalog Resource ${zip} ${cds}
# zip can be vFW.zip or vFWDT_VFWSNK.zip
\ ${resource_type_match}= Get Regexp Matches ${zip} ${service}_(.*)\.zip 1
- \ ${resource_type_string}= Set Variable If '${resource_type_match}' is '[]' ${service} ${resource_type_match[0]}
+ \ ${resource_type_string}= Set Variable If len(${resource_type_match})==0 ${service} ${resource_type_match[0]}
\ Set To Dictionary ${resource_types} ${resource_type_string} ${loop_catalog_resource_id}
\ Append To List ${catalog_resource_ids} ${loop_catalog_resource_id}