server/sources/native.py
branchstable
changeset 5751 1e5ef464cade
parent 5749 b4393b681f7a
child 5752 b0bb553e3be4
child 5824 de9b7e88660e
equal deleted inserted replaced
5750:b3bc214cd479 5751:1e5ef464cade
   336         self.init_creating()
   336         self.init_creating()
   337 
   337 
   338     def shutdown(self):
   338     def shutdown(self):
   339         if self._eid_creation_cnx:
   339         if self._eid_creation_cnx:
   340             self._eid_creation_cnx.close()
   340             self._eid_creation_cnx.close()
       
   341             self._eid_creation_cnx = None
   341 
   342 
   342     # XXX deprecates [un]map_attribute ?
   343     # XXX deprecates [un]map_attribute ?
   343     def map_attribute(self, etype, attr, cb, sourcedb=True):
   344     def map_attribute(self, etype, attr, cb, sourcedb=True):
   344         self._rql_sqlgen.attr_map['%s.%s' % (etype, attr)] = (cb, sourcedb)
   345         self._rql_sqlgen.attr_map['%s.%s' % (etype, attr)] = (cb, sourcedb)
   345 
   346