sonar/database.py
def clear():
        """
        Clear all repositories from the database and deactivate the active repo
        """
        with shelve.open(Constants.SONAR_DB_PATH) as db:
            db["repo"] = {}
            active = db["active"]
            active["repo"] = None
            db["active"] = active

        Clear all repositories from the database and deactivate the active repo
        
Clear all repositories from the database and deactivate the active repo
Clear all repositories from the database and deactivate the active repo
def clear():
        with shelve.open(Constants.SONAR_DB_PATH) as db:
            db["repo"] = {}
            active = db["active"]
            active["repo"] = None
            db["active"] = active
def clear ( ) : with shelve . open ( Constants . SONAR_DB_PATH ) as db : db [ "repo" ] = { } active = db [ "active" ] active [ "repo" ] = None db [ "active" ] = active
Clear all repositories from the database and deactivate the active repo
Clear all repositories from the database and deactivate the active repo
"""
        Clear all repositories from the database and deactivate the active repo
        """