Ejemplo n.º 1
0
 def __del__(self):
     """Destructor for MySQLPersister.
     """
     try:
         if self.__cnx:
             destroy_mysql_connection(self.__cnx)
     except AttributeError:
         pass
Ejemplo n.º 2
0
 def __del__(self):
     """Destructor for MySQLPersister.
     """
     try:
         if self.__cnx:
             destroy_mysql_connection(self.__cnx)
     except AttributeError:
         pass