diff options
author | lovetox <philipp@hoerist.com> | 2020-03-11 00:27:00 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-03-11 00:28:02 +0300 |
commit | 656aa457c04aafc54dae3d2232960907d328d384 (patch) | |
tree | af25a122cf01551f07308c6f42b42de6c483a175 /nbxmpp/structs.py | |
parent | 9cd576ebf095652ee8d8f6058fb6fab3836d9a2f (diff) |
Fix pylint errors
- inconsistent-return-statements
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r-- | nbxmpp/structs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py index c35f2e5..c099523 100644 --- a/nbxmpp/structs.py +++ b/nbxmpp/structs.py @@ -216,6 +216,7 @@ class DiscoInfo(namedtuple('DiscoInfo', 'stanza identities features dataforms ti return NS_MAM_2 if NS_MAM_1 in self.features: return NS_MAM_1 + return None @property def has_mam_2(self): @@ -251,12 +252,14 @@ class DiscoInfo(namedtuple('DiscoInfo', 'stanza identities features dataforms ti if self.jid is not None: return self.jid.getNode() + return None @property def muc_identity_name(self): for identity in self.identities: if identity.category == 'conference': return identity.name + return None @property def muc_room_name(self): |