Showing
2 changed files
with
6 additions
and
4 deletions
... | ... | @@ -88,8 +88,10 @@ Get Broker Property By Username |
88 | 88 | ... last_modification_date=${TENDER['LAST_MODIFICATION_DATE']} |
89 | 89 | ... tender_owner=${USERS.users['${tender_owner}'].broker} |
90 | 90 | Run Keyword If '${USERS.users['${tender_owner}'].broker}' == 'Quinta' |
91 | - ... Set To Dictionary ${artifact} access_token ${USERS.users['${tender_owner}'].access_token} | |
92 | - ... tender_id ${USERS.users['${tender_owner}'].tender_data.data.id} | |
91 | + ... Run Keyword And Ignore Error | |
92 | + ... Set To Dictionary ${artifact} | |
93 | + ... access_token ${USERS.users['${tender_owner}'].access_token} | |
94 | + ... tender_id ${USERS.users['${tender_owner}'].tender_data.data.id} | |
93 | 95 | Log ${artifact} |
94 | 96 | log_object_data ${artifact} artifact update=${True} |
95 | 97 | ... | ... |
... | ... | @@ -131,9 +131,9 @@ def log_object_data(data, file_name=None, format="yaml", update=False): |
131 | 131 | |
132 | 132 | def munch_from_object(data, format="yaml"): |
133 | 133 | if format.lower() == 'json': |
134 | - return data.fromJSON(data) | |
134 | + return Munch.fromJSON(data) | |
135 | 135 | else: |
136 | - return data.fromYAML(data) | |
136 | + return Munch.fromYAML(data) | |
137 | 137 | |
138 | 138 | def munch_to_object(data, format="yaml"): |
139 | 139 | if format.lower() == 'json': | ... | ... |
Please
register
or
login
to post a comment