summaryrefslogtreecommitdiff
path: root/sleekxmpp/basexmpp.py
diff options
context:
space:
mode:
authorRobin Gloster <robin@loc-com.de>2014-08-18 15:15:14 +0200
committerRobin Gloster <robin@loc-com.de>2014-08-18 15:15:14 +0200
commit3dd379cdf12d885e26f8ec26c54879a95d5f0b84 (patch)
tree5dc018384ad03253608ff79c9fdbb577b84d2d2f /sleekxmpp/basexmpp.py
parent7265682a4d57d88956cb54f98f7a470465bbf417 (diff)
downloadslixmpp-3dd379cdf12d885e26f8ec26c54879a95d5f0b84.tar.gz
slixmpp-3dd379cdf12d885e26f8ec26c54879a95d5f0b84.tar.bz2
slixmpp-3dd379cdf12d885e26f8ec26c54879a95d5f0b84.tar.xz
slixmpp-3dd379cdf12d885e26f8ec26c54879a95d5f0b84.zip
Revert "cleanup semicolons, whitespace and mutable default arguments"
This reverts commit 7265682a4d57d88956cb54f98f7a470465bbf417.
Diffstat (limited to 'sleekxmpp/basexmpp.py')
-rw-r--r--sleekxmpp/basexmpp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py
index 8cd61b63..bf0ae4df 100644
--- a/sleekxmpp/basexmpp.py
+++ b/sleekxmpp/basexmpp.py
@@ -25,6 +25,7 @@ from sleekxmpp.exceptions import IqError, IqTimeout
from sleekxmpp.stanza import Message, Presence, Iq, StreamError
from sleekxmpp.stanza.roster import Roster
from sleekxmpp.stanza.nick import Nick
+from sleekxmpp.stanza.htmlim import HTMLIM
from sleekxmpp.xmlstream import XMLStream, JID
from sleekxmpp.xmlstream import ET, register_stanza_plugin
@@ -244,7 +245,7 @@ class BaseXMPP(XMLStream):
self.plugin[name].post_inited = True
return XMLStream.process(self, *args, **kwargs)
- def register_plugin(self, plugin, pconfig=None, module=None):
+ def register_plugin(self, plugin, pconfig={}, module=None):
"""Register and configure a plugin for use in this stream.
:param plugin: The name of the plugin class. Plugin names must