

def _get_free_field_name(self, field):
    'Generate an available name for a field'
    num = 0
    field_name = ((unicode(field_name.name) + '___') + unicode(num))
    while (field_name in self.fields):
        num += 1
        field_name = ((unicode(field.name) + '___') + unicode(num))
    return field_name

dataset/ETHPy150Open treeio/treeio/treeio/identities/forms.py ContactForm._get_free_field_name/VarMisuse@24/45 `field`->`field_name`