def drop_db(database, **kwargs):
    # Set a .pgpass file up so we're not prompted for a password.
    set_pgpass(database)
    
    cmd = ['dropdb']
    
    # Add some common postgres options.
    add_common_options_to_cmd(cmd, database, **kwargs)
    
    cmd.append(database['NAME'])
    
    call(cmd)
Drops the specified database.
dataset/ETHPy150Open duointeractive/django-fabtastic/fabtastic/db/postgres.py/drop_db