Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-10-04 22:50:24 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-10-04 22:50:24 +0300
commitf85d3c952b546d4cd3626565fa30877415d4cf65 (patch)
tree73d954f9c1ce3b1a5517d9d2f9e41d08ca55c650
parent922813c89949cebb038bffda7cd81b15ab1ae7b1 (diff)
cfix: Fix indentation
-rw-r--r--nbxmpp/structs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py
index c71f046..fa6d00d 100644
--- a/nbxmpp/structs.py
+++ b/nbxmpp/structs.py
@@ -653,8 +653,8 @@ class DiscoInfo(NamedTuple):
def has_identity(self, category: str, type_: str) -> bool:
for identity in self.identities:
if (identity.category == category and
- identity.type == type_):
- return True
+ identity.type == type_):
+ return True
return False
@property