diff --git a/lib/galaxy/managers/users.py b/lib/galaxy/managers/users.py index 5ebaa450789b..ab470d6794cc 100644 --- a/lib/galaxy/managers/users.py +++ b/lib/galaxy/managers/users.py @@ -200,7 +200,7 @@ def purge(self, user, flush=True): private_role = self.app.security_agent.get_private_user_role(user) if private_role is None: raise exceptions.InconsistentDatabase( - "User '%s' private role is missing while attempting to purge deleted user." % user.email + f"User '{user.email}' private role is missing while attempting to purge deleted user." ) # Delete History for active_history in user.active_histories: