[migration] add schema obj into assertion failure message so we get a chance to understand the pb
--- a/server/migractions.py Mon Feb 27 10:12:25 2012 +0100
+++ b/server/migractions.py Mon Feb 27 17:40:56 2012 +0100
@@ -1112,7 +1112,7 @@
schemaobj = getattr(rdef, attr)
if getattr(schemaobj, 'eid', None) is None:
schemaobj.eid = self.repo.schema[schemaobj].eid
- assert schemaobj.eid is not None
+ assert schemaobj.eid is not None, schemaobj
return rdef
def cmd_drop_relation_definition(self, subjtype, rtype, objtype, commit=True):