server/schemaserial.py
changeset 4021 280c910c8710
parent 4014 24f7d7eb4c23
child 4024 6a14cff373c3
--- a/server/schemaserial.py	Tue Dec 08 09:45:07 2009 +0100
+++ b/server/schemaserial.py	Tue Dec 08 10:40:12 2009 +0100
@@ -510,7 +510,7 @@
 
 def rdefrelations2rql(rschema, subjtype, objtype, props):
     iterators = []
-    for constraint in props['constraints']:
+    for constraint in props.constraints:
         iterators.append(constraint2rql(rschema, subjtype, objtype, constraint))
     return chain(*iterators)