def dbdirname(db, rc):
    'Gets the database dir name.'
    if (db.get('local', False) is False):
        dbsdir = os.path.join(rc.builddir, '_dbs')
        dbdir = os.path.join(dbsdir, db['name'])
    else:
        dbdir = db['url']
    return dbdir
Gets the database dir name.
def dbdirname(db, rc):
    
    if (db.get('local', False) is False):
        dbsdir = os.path.join(rc.builddir, '_dbs')
        dbdir = os.path.join(dbsdir, db['name'])
    else:
        dbdir = db['url']
    return dbdir