--- a/entity.py Mon Apr 07 14:15:35 2014 +0200
+++ b/entity.py Mon Apr 07 17:02:04 2014 +0200
@@ -788,13 +788,13 @@
assert role in ('subject', 'object'), role
skip_copy_for[role].add(rtype)
for rschema in self.e_schema.subject_relations():
+ if rschema.type in skip_copy_for['subject']:
+ continue
if rschema.final or rschema.meta:
continue
# skip already defined relations
if getattr(self, rschema.type):
continue
- if rschema.type in skip_copy_for['subject']:
- continue
# skip composite relation
rdef = self.e_schema.rdef(rschema)
if rdef.composite: