2ff2f76 Close connections after creating the tables

Authored and Committed by puiterwijk 8 years ago
    Close connections after creating the tables
    
    This needs to be done manually in the case of upgrades, because
    there is no cherrypy end_request to help us close sessions.
    Everytime we do a self._query a new connection is allocated, so
    we need to make sure to terminate them all.
    
    Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
    Reviewed-by: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+6 -0
file modified
+1 -0