ecommerce_worker/configuration/__init__.py
def get_overrides_filename(variable):
    """
    Get the name of the file containing configuration overrides
    from the provided environment variable.
    """
    filename = os.environ.get(variable)

    if filename is None:
        msg = 'Please set the {} environment variable.'.format(variable)
        raise EnvironmentError(msg)

    return filename
def get_overrides_filename(variable):
    filename = os.environ.get(variable)

    if filename is None:
        msg = 'Please set the {} environment variable.'.format(variable)
        raise EnvironmentError(msg)

    return filename
def get_overrides_filename ( variable ) : filename = os . environ . get ( variable ) if filename is None : msg = 'Please set the {} environment variable.' . format ( variable ) raise EnvironmentError ( msg ) return filename
Get the name of the file containing configuration overrides
    from the provided environment variable.
Get the name of the file containing configuration overrides from the provided environment variable .