Rename Profile.fqdn to Profile.fqn

It’s not a domain name, so the `d` is not needed.
This commit is contained in:
Gergely Polonkai 2018-07-09 18:06:18 +02:00
parent efc9b24e2c
commit 9af673666c

View File

@ -204,7 +204,7 @@ class Profile(db.Model): # pylint: disable=too-few-public-methods
display_name = db.Column(db.Unicode(length=80), nullable=False)
@property
def fqdn(self):
def fqn(self):
ret = ''
if self.user:
@ -228,7 +228,7 @@ class Profile(db.Model): # pylint: disable=too-few-public-methods
if self.display_name:
ret = self.display_name + ' '
ret += f'({self.fqdn})'
ret += f'({self.fqn})'
return ret