From 262cd25838ed719d69e8876595064f4c5ef95290 Mon Sep 17 00:00:00 2001 From: guerler Date: Fri, 12 Jan 2024 12:54:12 +0300 Subject: [PATCH] Fix linting --- lib/galaxy/model/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/model/__init__.py b/lib/galaxy/model/__init__.py index fb7180f65704..18287b1225f5 100644 --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -3069,7 +3069,7 @@ def empty(self): @property def username(self): - if (user := self.user): + if user := self.user: return user.username return None