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:
authorlovetox <philipp@hoerist.com>2020-04-13 16:30:45 +0300
committerlovetox <philipp@hoerist.com>2020-04-13 16:30:45 +0300
commit2862f900e8d04d6321717ce44b09dca70a8c49c6 (patch)
tree46d9cf31d7141adf2775b6a5dcab2bdcc244c5ae
parent2fd29576567326da5cd3cad3bb08123bec511581 (diff)
JID: return bool for isFull()
-rw-r--r--nbxmpp/protocol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/protocol.py b/nbxmpp/protocol.py
index bed2e39..9c7b8e7 100644
--- a/nbxmpp/protocol.py
+++ b/nbxmpp/protocol.py
@@ -905,7 +905,7 @@ class JID:
@property
def isFull(self):
- return self.domain and self.node and self.resource
+ return bool(self.domain and self.node and self.resource)
def __eq__(self, other):
"""