From 429c94d6a90b6f2ae35fa158e7abe04814edd5ef Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sat, 19 Nov 2011 12:07:57 -0800 Subject: Tidy up logging calls. --- sleekxmpp/xmlstream/matcher/xmlmask.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/xmlstream/matcher') 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] -- cgit v1.2.3