Is correct to close the connection this way? .... def get_reg_list(self): con = self.db.open() root = con.root() con.close() return root['status'].get_register_list() It works but can be dangerous? A lot of thanks -- Antonio Beamud Montero <antonio.beamud at linkend.com>