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:
Diffstat (limited to 'nbxmpp/protocol.py')
-rw-r--r--nbxmpp/protocol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/protocol.py b/nbxmpp/protocol.py
index 4d73135..15a9bbd 100644
--- a/nbxmpp/protocol.py
+++ b/nbxmpp/protocol.py
@@ -936,7 +936,7 @@ class Protocol(Node):
"""
self.setAttr('id', val)
- def getError(self):
+ def getError(self) -> Optional[str]:
"""
Return the error-condition (if present) or the textual description
of the error (otherwise)