diff libervia/backend/plugins/plugin_xep_0115.py @ 4270:0d7bb4df2343

Reformatted code base using black.
author Goffi <goffi@goffi.org>
date Wed, 19 Jun 2024 18:44:57 +0200
parents 4b842c1fb686
children
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0115.py	Tue Jun 18 12:06:45 2024 +0200
+++ b/libervia/backend/plugins/plugin_xep_0115.py	Wed Jun 19 18:44:57 2024 +0200
@@ -170,8 +170,7 @@
                 _(
                     "Unknown hash method for entity capabilities: [{hash_method}] "
                     "(entity: {entity_jid}, node: {node})"
-                )
-                .format(hash_method = c_hash, entity_jid = from_jid, node = c_node)
+                ).format(hash_method=c_hash, entity_jid=from_jid, node=c_node)
             )
 
         def cb(__):
@@ -186,10 +185,10 @@
                         "computed: [{computed}]\n"
                         "(entity: {entity_jid}, node: {node})"
                     ).format(
-                        given = c_ver,
-                        computed = computed_hash,
-                        entity_jid = from_jid,
-                        node = c_node,
+                        given=c_ver,
+                        computed=computed_hash,
+                        entity_jid=from_jid,
+                        node=c_node,
                     )
                 )