

def clean(self, *args, **kwargs):
    validate_glue = kwargs.pop('validate_glue', True)
    if self:
        self.check_glue_status()
    self.clean_ip()
    self.set_fqdn()
    self.check_TLD_condition()
    self.validate_delegation_conditions()
    self.check_no_ns_soa_condition(self.domain)
    self.check_for_cname()
    if (not kwargs.pop('ignore_interface', False)):
        from core.interface.static_intr.models import StaticInterface
        if StaticInterface.objects.filter(fqdn=self.fqdn, ip_upper=self.ip_upper, ip_lower=self.ip_lower).exists():
            raise ValidationError('A Static Interface has already reserved this A record.')

dataset/ETHPy150Open rtucker-mozilla/mozilla_inventory/mozdns/address_record/models.py BaseAddressRecord.clean/VarMisuse@28/37 `validate_glue`->`self`