Skip to content

Commit

Permalink
Removed unneeded test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgeulette committed Dec 22, 2015
1 parent 3e1bb44 commit cd85f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plone/dexterity/fti.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def ftiModified(object, event):
schema = getattr(plone.dexterity.schema.generated, schemaName)

model = fti.lookupModel()
sync_bases = 'schema_policy' in mod and True or False
sync_bases = 'schema_policy' in mod
syncSchema(model.schema, schema, overwrite=True, sync_bases=sync_bases)

notify(SchemaInvalidatedEvent(portal_type))

0 comments on commit cd85f2c

Please sign in to comment.