server/querier.py
changeset 8696 0bb18407c053
parent 8695 358d8bed9626
child 8697 574bb05e40a4
equal deleted inserted replaced
8695:358d8bed9626 8696:0bb18407c053
   528             self.r_defs.remove(rdef)
   528             self.r_defs.remove(rdef)
   529             return [rdef]
   529             return [rdef]
   530 
   530 
   531     def relation_defs(self):
   531     def relation_defs(self):
   532         """return the list for relation definitions to insert"""
   532         """return the list for relation definitions to insert"""
   533         for rdefs in self._expanded_r_defs.values():
   533         for rdefs in self._expanded_r_defs.itervalues():
   534             for rdef in rdefs:
   534             for rdef in rdefs:
   535                 yield rdef
   535                 yield rdef
   536         for rdef in self.r_defs:
   536         for rdef in self.r_defs:
   537             yield rdef
   537             yield rdef
   538 
   538