Commit dd0841b0 by Dudás Ádám

firewall: add self for 'private' methods

parent e0ef5de6
...@@ -323,8 +323,8 @@ class Record(models.Model): ...@@ -323,8 +323,8 @@ class Record(models.Model):
return self.address return self.address
def get_data(self): def get_data(self):
name = __get_name() name = self.__get_name()
address = __get_address() address = self.__get_address()
if self.host and self.type == 'AAAA' and not self.host.ipv6: if self.host and self.type == 'AAAA' and not self.host.ipv6:
return None return None
elif address is None or name is None: elif address is None or name is None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment