def eraseDB(all=False): 
    """Erase database and init it"""
    try: 
        site, settings = find_site()
        if all:
            delete_db(settings)
            print "All data successfully deleted."
        else:
            delete_satchmo()
            print "Satchmo data successfully deleted."
        init_and_install()
    except __HOLE__, ex: 
        print ex.args[0]
dataset/ETHPy150Open dokterbob/satchmo/satchmo/projects/load_data.py/eraseDB