prefix private attribute with a _
This commit is contained in:
parent
6f46c41743
commit
e787a71ea8
2 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ class AntiSpam(object):
|
|||
if contact.id == 1:
|
||||
return True
|
||||
|
||||
if not self.check_profile(contact.aum_profile):
|
||||
if not self.check_profile(contact._aum_profile):
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
|
|||
|
|
@ -253,7 +253,7 @@ class Contact(_Contact):
|
|||
|
||||
self.profile[section] = s
|
||||
|
||||
self.aum_profile = profile
|
||||
self._aum_profile = profile
|
||||
|
||||
def get_text(self):
|
||||
def print_node(node, level=1):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue