Mercurial > libervia-backend
comparison libervia/backend/core/xmpp.py @ 4361:676a320415b9
core (xmpp): Add missing f-string prefix
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 11 Apr 2025 21:49:46 +0200 |
parents | 01ee3b902d33 |
children | 4da560a8aed3 |
comparison
equal
deleted
inserted
replaced
4360:5ea4f5f28082 | 4361:676a320415b9 |
---|---|
259 if host.profiles[profile].is_connected(): | 259 if host.profiles[profile].is_connected(): |
260 raise exceptions.InternalError( | 260 raise exceptions.InternalError( |
261 f"There is already a connected profile of name {profile!r} in " | 261 f"There is already a connected profile of name {profile!r} in " |
262 f"host" | 262 f"host" |
263 ) | 263 ) |
264 log.debug("removing unconnected profile {profile!r}") | 264 log.debug(f"removing unconnected profile {profile!r}") |
265 del host.profiles[profile] | 265 del host.profiles[profile] |
266 entity = host.profiles[profile] = cls( | 266 entity = host.profiles[profile] = cls( |
267 host, | 267 host, |
268 profile, | 268 profile, |
269 entity_jid, | 269 entity_jid, |