(profiles_dir=None)
return profiles
This is only used for some error handling
This is only used for some error handling
This is only used for some error handling
def read_profiles(profiles_dir=None):
    """This is only used for some error handling"""
    if profiles_dir is None:
        profiles_dir = flags.PROFILES_DIR

    raw_profiles = read_profile(profiles_dir)

    if raw_profiles is None:
        profiles = {}
    else:
        profiles = {k: v for (k, v) in raw_profiles.items() if k != 'config'}

    return profiles
def read_profiles ( profiles_dir = None ) : if profiles_dir is None : profiles_dir = flags . PROFILES_DIR raw_profiles = read_profile ( profiles_dir ) if raw_profiles is None : profiles = { } else : profiles = { k : v for ( k , v ) in raw_profiles . items ( ) if k != 'config' } return profiles