diff sat/plugins/plugin_pubsub_cache.py @ 3854:8a2c46122a11

plugin XEP-0060: fix bad naming of return variable
author Goffi <goffi@goffi.org>
date Thu, 14 Jul 2022 12:55:30 +0200
parents 604b6acaee22
children c04f5e8a3568
line wrap: on
line diff
--- a/sat/plugins/plugin_pubsub_cache.py	Thu Jul 14 12:55:30 2022 +0200
+++ b/sat/plugins/plugin_pubsub_cache.py	Thu Jul 14 12:55:30 2022 +0200
@@ -280,7 +280,8 @@
             except error.StanzaError as e:
                 if e.condition == "service-unavailable":
                     log.warning(
-                        "service is hidding disco infos, we'll only cache latest 20 items"
+                        "service {service} is hidding disco infos, we'll only cache "
+                        "latest 20 items"
                     )
                     items, __ = await client.pubsub_client.items(
                         pubsub_node.service, pubsub_node.name, maxItems=20