From 9af673666c769469c7e54c41dbde56b207208e62 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 9 Jul 2018 18:06:18 +0200 Subject: [PATCH] Rename Profile.fqdn to Profile.fqn MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s not a domain name, so the `d` is not needed. --- calsocial/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calsocial/models.py b/calsocial/models.py index ff615ab..b8ba26b 100644 --- a/calsocial/models.py +++ b/calsocial/models.py @@ -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