summaryrefslogtreecommitdiff
path: root/sleekxmpp/basexmpp.py
diff options
context:
space:
mode:
authorVijay Pandurangan <vijayp@vijayp.ca>2011-11-19 15:59:38 -0800
committerVijay Pandurangan <vijayp@vijayp.ca>2011-11-19 15:59:38 -0800
commit48af3d33226a8f432b50e3ff9b54c59c2d9e4cda (patch)
tree559915571f9191a2d4c9ba34ce0c16dd2202cb8a /sleekxmpp/basexmpp.py
parent6f3cc77bb52349b1b88d0dd6edd2ba77141bc7f6 (diff)
downloadslixmpp-48af3d33226a8f432b50e3ff9b54c59c2d9e4cda.tar.gz
slixmpp-48af3d33226a8f432b50e3ff9b54c59c2d9e4cda.tar.bz2
slixmpp-48af3d33226a8f432b50e3ff9b54c59c2d9e4cda.tar.xz
slixmpp-48af3d33226a8f432b50e3ff9b54c59c2d9e4cda.zip
remove unnecessary copies when only one handler matches. This was taking up ~ 15% of CPU on moderate load.
Diffstat (limited to 'sleekxmpp/basexmpp.py')
-rw-r--r--sleekxmpp/basexmpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py
index 24a7c386..aa82dd0e 100644
--- a/sleekxmpp/basexmpp.py
+++ b/sleekxmpp/basexmpp.py
@@ -246,7 +246,7 @@ class BaseXMPP(XMLStream):
spec = "(RFC-%s) " % self.plugin[plugin].rfc
desc = (spec, self.plugin[plugin].description)
- log.debug("Loaded Plugin %s%s" , desc)
+ log.debug("Loaded Plugin %s" , desc)
except:
log.exception("Unable to load plugin: %s", plugin)