dataimport.py
changeset 9440 6880674c1a26
parent 9361 0542a85fe667
parent 9425 d7e8293fa4de
child 9478 2d7521881d3d
child 9515 b0dd5b57d2d8
--- a/dataimport.py	Wed Sep 11 18:04:05 2013 +0200
+++ b/dataimport.py	Tue Jan 21 15:11:16 2014 +0100
@@ -1064,7 +1064,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: