aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndre Puschmann <andre@softwareradiosystems.com>2020-11-11 16:58:35 +0100
committerAndre Puschmann <andre@softwareradiosystems.com>2020-11-11 17:16:21 +0100
commit635edb33c348a02c5540216256d5bf949e552495 (patch)
tree7c8919774dbfc1a8162775fb4f874fb8d711c801 /src
parent5e6d5ffd013232de478c63f587eac8b6a30afa41 (diff)
schema: allow empty lists in resource schemaHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/osmo_gsm_tester/core/schema.py2
1 files changed, 1 insertions, 1 deletions
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 @@ def validate(config, schema):
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