def get_backend_init_list(backend_vals):
    """Turn backend config dict into command line items."""
    cmd_list = []
    for (key, val) in backend_vals.items():
        cmd_list.append('-backend-config')
        cmd_list.append(key + '=' + val)
    return cmd_list
def get_backend_init_list ( backend_vals ) : cmd_list = [ ] for ( key , val ) in backend_vals . items ( ) : cmd_list . append ( '-backend-config' ) cmd_list . append ( key + '=' + val ) return cmd_list
Turn backend config dict into command line items.