use 'suppress' property name instead of 'hidden' (which is used already)

This commit is contained in:
Helmut Merz 2016-11-30 10:10:00 +01:00
parent b6833af5f9
commit 519140aa6d

View file

@ -83,7 +83,7 @@ class SchemaFactory(object):
if include and fname not in include:
continue
field = interface[fname]
if getattr(field, 'hidden', False):
if getattr(field, 'suppress', False):
continue
info = fieldMapping.get(field.__class__)
f = createField(field, info)