(self)
Something bad happened, reset all connections.
Something bad happened, reset all connections.
Something bad happened reset all connections .
def reset(self):
        "Something bad happened, reset all connections."
        for dbc in self.db_cache.values():
            dbc.reset()
        self.db_cache = {}
        BaseScript.reset(self)
def reset ( self ) : for dbc in self . db_cache . values ( ) : dbc . reset ( ) self . db_cache = { } BaseScript . reset ( self )