Mercurial > libervia-pubsub
changeset 336:a468c187bbb5
fixed parseItemConfig (was iterating on children instead of elements)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 12 Aug 2017 18:10:14 +0200 |
parents | 5580f08c7b91 |
children | 57a3051ee435 |
files | sat_pubsub/backend.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_pubsub/backend.py Sun Jun 25 23:12:43 2017 +0200 +++ b/sat_pubsub/backend.py Sat Aug 12 18:10:14 2017 +0200 @@ -254,7 +254,7 @@ """ item_config = None access_model = const.VAL_AMODEL_DEFAULT - for idx, elt in enumerate(item.children): + for idx, elt in enumerate(item.elements()): if elt.uri != 'data_form.NS_X_DATA' or elt.name != 'x': continue form = data_form.Form.fromElement(elt)