# HG changeset patch # User Vincent Michel # Date 1386675846 0 # Node ID d7e8293fa4de7e80269e4bb99898e807c89816cb # Parent 5027afeb5739f72c63efb84a60231f344c31d205 [dataimport] The subjtype should be the subject of a relation, not the object, closes #3365113 diff -r 5027afeb5739 -r d7e8293fa4de dataimport.py --- a/dataimport.py Wed Jan 15 14:21:47 2014 +0100 +++ b/dataimport.py Tue Dec 10 11:44:06 2013 +0000 @@ -1058,7 +1058,7 @@ if subjtype is None: # Try to infer it targets = [t.type for t in - self.schema.rschema(rtype).targets()] + self.schema.rschema(rtype).subjects()] if len(targets) == 1: subjtype = targets[0] else: