mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
ruff: Fix more of RUF010 Use conversion in f-string.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -94,7 +94,7 @@ class QueueClient(Generic[ChannelT], metaclass=ABCMeta):
|
||||
)
|
||||
|
||||
def _generate_ctag(self, queue_name: str) -> str:
|
||||
return f"{queue_name}_{str(random.getrandbits(16))}"
|
||||
return f"{queue_name}_{random.getrandbits(16)}"
|
||||
|
||||
def _reconnect_consumer_callback(self, queue: str, consumer: Consumer[ChannelT]) -> None:
|
||||
self.log.info("Queue reconnecting saved consumer %r to queue %s", consumer, queue)
|
||||
|
||||
Reference in New Issue
Block a user