summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-12 09:56:48 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:20 -0700
commit8b2023225ce455395729b2815aecc31189350226 (patch)
treece770a29385b7fb5c782b359fb95da9bdcd63c66
parentf8f2b541db2c7d53e96ff972fc3349fa4c1ea05d (diff)
downloadslixmpp-8b2023225ce455395729b2815aecc31189350226.tar.gz
slixmpp-8b2023225ce455395729b2815aecc31189350226.tar.bz2
slixmpp-8b2023225ce455395729b2815aecc31189350226.tar.xz
slixmpp-8b2023225ce455395729b2815aecc31189350226.zip
Remove extra logging statement, add backward compatible references.
-rw-r--r--sleekxmpp/plugins/base.py2
-rw-r--r--sleekxmpp/plugins/xep_0012.py1
-rw-r--r--sleekxmpp/plugins/xep_0033.py1
-rw-r--r--sleekxmpp/plugins/xep_0045.py1
4 files changed, 3 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/base.py b/sleekxmpp/plugins/base.py
index bc0504ea..d1fb26a0 100644
--- a/sleekxmpp/plugins/base.py
+++ b/sleekxmpp/plugins/base.py
@@ -90,8 +90,6 @@ def load_plugin(name, module=None):
if not hasattr(plugin, 'name'):
plugin.name = name
register_plugin(plugin, name)
- else:
- log.debug("%s does not have %s", mod, name)
except:
log.exception("Unable to load plugin: %s", name)
diff --git a/sleekxmpp/plugins/xep_0012.py b/sleekxmpp/plugins/xep_0012.py
index 123181cf..01fb60a8 100644
--- a/sleekxmpp/plugins/xep_0012.py
+++ b/sleekxmpp/plugins/xep_0012.py
@@ -118,4 +118,5 @@ class XEP_0012(BasePlugin):
return result['last_activity']['seconds']
+xep_0012 = XEP_0012
register_plugin(XEP_0012)
diff --git a/sleekxmpp/plugins/xep_0033.py b/sleekxmpp/plugins/xep_0033.py
index 6fbb9bd0..feef5a13 100644
--- a/sleekxmpp/plugins/xep_0033.py
+++ b/sleekxmpp/plugins/xep_0033.py
@@ -163,4 +163,5 @@ class XEP_0033(BasePlugin):
self.xmpp.plugin['xep_0030'].add_feature(Addresses.namespace)
+xep_0033 = XEP_0033
register_plugin(XEP_0033)
diff --git a/sleekxmpp/plugins/xep_0045.py b/sleekxmpp/plugins/xep_0045.py
index 8d694960..5035faae 100644
--- a/sleekxmpp/plugins/xep_0045.py
+++ b/sleekxmpp/plugins/xep_0045.py
@@ -382,4 +382,5 @@ class XEP_0045(BasePlugin):
return self.rooms[room].keys()
+xep_0045 = XEP_0045
register_plugin(XEP_0045)