diff -r 7863c546b135 -r 2d7521881d3d dataimport.py --- a/dataimport.py Fri Jan 24 10:04:56 2014 +0100 +++ b/dataimport.py Mon Jan 27 16:19:49 2014 +0100 @@ -1063,7 +1063,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: