s3conf/client.py
def downsync(section, map_files):
    """
    For each section defined in the local config file, creates a folder inside the local config folder
    named after the section. Downloads the environemnt file defined by the S3CONF variable for this section
    to this folder.
    """
    try:
        settings = config.Settings(section=section)
        storage = STORAGES['s3'](settings=settings)
        conf = s3conf.S3Conf(storage=storage, settings=settings)
        local_root = os.path.join(config.LOCAL_CONFIG_FOLDER, section)
        conf.downsync(local_root, map_files=map_files)
    except exceptions.EnvfilePathNotDefinedError:
        raise exceptions.EnvfilePathNotDefinedUsageError()
def downsync(section, map_files):
    """
    For each section defined in the local config file, creates a folder inside the local config folder
    named after the section. Downloads the environemnt file defined by the S3CONF variable for this section
    to this folder.
    """
    try:
        settings = config.Settings(section=section)
        storage = STORAGES['s3'](settings=settings)
        conf = s3conf.S3Conf(storage=storage, settings=settings)
        local_root = os.path.join(config.LOCAL_CONFIG_FOLDER, section)
        conf.downsync(local_root, map_files=map_files)
    except exceptions.EnvfilePathNotDefinedError:
        raise exceptions.EnvfilePathNotDefinedUsageError()
def downsync ( section , map_files ) : try : settings = config . Settings ( section = section ) storage = STORAGES [ 's3' ] ( settings = settings ) conf = s3conf . S3Conf ( storage = storage , settings = settings ) local_root = os . path . join ( config . LOCAL_CONFIG_FOLDER , section ) conf . downsync ( local_root , map_files = map_files ) except exceptions . EnvfilePathNotDefinedError : raise exceptions . EnvfilePathNotDefinedUsageError ( )
For each section defined in the local config file, creates a folder inside the local config folder
    named after the section. Downloads the environemnt file defined by the S3CONF variable for this section
    to this folder.
For each section defined in the local config file creates a folder inside the local config folder named after the section . Downloads the environemnt file defined by the S3CONF variable for this section to this folder .