diff libervia/backend/tools/sat_defer.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/tools/sat_defer.py	Tue Jun 18 12:06:45 2024 +0200
+++ b/libervia/backend/tools/sat_defer.py	Wed Jun 19 18:44:57 2024 +0200
@@ -38,7 +38,7 @@
 def stanza_2_not_found(failure_):
     """Convert item-not-found StanzaError to exceptions.NotFound"""
     failure_.trap(jabber_error.StanzaError)
-    if failure_.value.condition == 'item-not-found':
+    if failure_.value.condition == "item-not-found":
         raise exceptions.NotFound(failure_.value.text or failure_.value.condition)
     return failure_