This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21104 ) Change subject: schema: allow empty lists in resource schema ...................................................................... schema: allow empty lists in resource schema Change-Id: I9249e29deef00d4dd68f89c704ef1d3093c799fd --- M src/osmo_gsm_tester/core/schema.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/osmo_gsm_tester/core/schema.py b/src/osmo_gsm_tester/core/schema.py index 816f439..9d26b0f 100644 --- a/src/osmo_gsm_tester/core/schema.py +++ b/src/osmo_gsm_tester/core/schema.py @@ -307,7 +307,7 @@ if util.is_dict(value): nest(path, value, schema) return - if util.is_list(value) and value: + if util.is_list(value): for list_v in value: validate_item(path, list_v, schema) return -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21104 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Change-Id: I9249e29deef00d4dd68f89c704ef1d3093c799fd Gerrit-Change-Number: 21104 Gerrit-PatchSet: 1 Gerrit-Owner: srs_andre <andre at softwareradiosystems.com> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201111/e091822a/attachment.htm>