Remove all deprecated alias in the core of slixmpp, and wherever they were used.
This commit is contained in:
committed by
Florent Le Coz
parent
61f89eef2e
commit
7c3e61950d
@@ -179,13 +179,3 @@ class Presence(RootStanza):
|
||||
elif self['type'] == 'subscribe':
|
||||
self['type'] = 'subscribed'
|
||||
return StanzaBase.reply(self, clear)
|
||||
|
||||
|
||||
# To comply with PEP8, method names now use underscores.
|
||||
# Deprecated method names are re-mapped for backwards compatibility.
|
||||
Presence.setShow = Presence.set_show
|
||||
Presence.getType = Presence.get_type
|
||||
Presence.setType = Presence.set_type
|
||||
Presence.delType = Presence.get_type
|
||||
Presence.getPriority = Presence.get_priority
|
||||
Presence.setPriority = Presence.set_priority
|
||||
|
||||
Reference in New Issue
Block a user