summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/matcher
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-11-19 12:07:57 -0800
committerLance Stout <lancestout@gmail.com>2011-11-19 12:07:57 -0800
commit429c94d6a90b6f2ae35fa158e7abe04814edd5ef (patch)
tree428733bfda4e01acb0bba4f7e75e8d25c83e3862 /sleekxmpp/xmlstream/matcher
parentdeb52ad3502a94f91ef5400bf5b7605b8e151f50 (diff)
downloadslixmpp-429c94d6a90b6f2ae35fa158e7abe04814edd5ef.tar.gz
slixmpp-429c94d6a90b6f2ae35fa158e7abe04814edd5ef.tar.bz2
slixmpp-429c94d6a90b6f2ae35fa158e7abe04814edd5ef.tar.xz
slixmpp-429c94d6a90b6f2ae35fa158e7abe04814edd5ef.zip
Tidy up logging calls.
Diffstat (limited to 'sleekxmpp/xmlstream/matcher')
-rw-r--r--sleekxmpp/xmlstream/matcher/xmlmask.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/matcher/xmlmask.py b/sleekxmpp/xmlstream/matcher/xmlmask.py
index cd350432..d72297f6 100644
--- a/sleekxmpp/xmlstream/matcher/xmlmask.py
+++ b/sleekxmpp/xmlstream/matcher/xmlmask.py
@@ -102,7 +102,7 @@ class MatchXMLMask(MatcherBase):
try:
mask = ET.fromstring(mask)
except ExpatError:
- log.warning("Expat error: %s\nIn parsing: %s" , '', mask)
+ log.warning("Expat error: %s\nIn parsing: %s", '', mask)
if not use_ns:
# Compare the element without using namespaces.
source_tag = source.tag.split('}', 1)[-1]