(field_name)
return subbed_string
Effectively slugifies a fixture's field name so that we don't send
    bad XML back from the phone. Ideally, the fixture name should be
    verified as a good slug before using it.
Effectively slugifies a fixture's field name so that we don't send
    bad XML back from the phone. Ideally, the fixture name should be
    verified as a good slug before using it.
Effectively slugifies a fixture s field name so that we don t send bad XML back from the phone . Ideally the fixture name should be verified as a good slug before using it .
def clean_fixture_field_name(field_name):
    """Effectively slugifies a fixture's field name so that we don't send
    bad XML back from the phone. Ideally, the fixture name should be
    verified as a good slug before using it.
    """
    subbed_string = re.sub(BAD_SLUG_PATTERN, '_', field_name)
    if subbed_string.startswith('xml'):
        subbed_string = subbed_string.replace('xml', '_', 1)
    return subbed_string
def clean_fixture_field_name ( field_name ) : subbed_string = re . sub ( BAD_SLUG_PATTERN , '_' , field_name ) if subbed_string . startswith ( 'xml' ) : subbed_string = subbed_string . replace ( 'xml' , '_' , 1 ) return subbed_string