fix: contact.py spacing issue
This commit is contained in:
parent
6ca2788cc5
commit
35d563edb0
1 changed files with 2 additions and 2 deletions
|
|
@ -47,14 +47,14 @@ class Contact(Document):
|
|||
def get_link_for(self, link_doctype):
|
||||
'''Return the link name, if exists for the given link DocType'''
|
||||
for link in self.links:
|
||||
if link.link_doctype==link_doctype:
|
||||
if link.link_doctype == link_doctype:
|
||||
return link.link_name
|
||||
|
||||
return None
|
||||
|
||||
def has_link(self, doctype, name):
|
||||
for link in self.links:
|
||||
if link.link_doctype==doctype and link.link_name== name:
|
||||
if link.link_doctype == doctype and link.link_name == name:
|
||||
return True
|
||||
|
||||
def has_common_link(self, doc):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue