Commit a72877e8 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

rephrase

--HG--
branch : stable
parent 5ea2bfd55399
...@@ -913,8 +913,8 @@ class AfterAddCWETypeHook(DelCWETypeHook): ...@@ -913,8 +913,8 @@ class AfterAddCWETypeHook(DelCWETypeHook):
entity = self.entity entity = self.entity
if entity.cw_edited.get('final'): if entity.cw_edited.get('final'):
# final entity types don't need a table in the database and are # final entity types don't need a table in the database and are
# systematically added by yams at initialization time so there is no # systematically added by yams at schema initialization time so
# need to do further processing. Simply assign its eid. # there is no need to do further processing. Simply assign its eid.
self._cw.vreg.schema[entity.name].eid = entity.eid self._cw.vreg.schema[entity.name].eid = entity.eid
return return
CWETypeAddOp(self._cw, entity=entity) CWETypeAddOp(self._cw, entity=entity)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment