From 23f112602c35440ca7a43cfd1efb0d3e15220a02 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sat, 26 Jan 2013 15:10:06 -0800 Subject: Get tests to pass again. Re-add old gmail_notify plugin for now. --- sleekxmpp/plugins/xep_0030/stanza/info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/plugins/xep_0030') diff --git a/sleekxmpp/plugins/xep_0030/stanza/info.py b/sleekxmpp/plugins/xep_0030/stanza/info.py index 2dec5d88..25d1d07f 100644 --- a/sleekxmpp/plugins/xep_0030/stanza/info.py +++ b/sleekxmpp/plugins/xep_0030/stanza/info.py @@ -165,7 +165,7 @@ class DiscoInfo(ElementBase): identities = [] for id_xml in self.findall('{%s}identity' % self.namespace): xml_lang = id_xml.attrib.get('{%s}lang' % self.xml_ns, None) - if lang is None or lang == '*' or xml_lang == lang: + if lang is None or xml_lang == lang: id = (id_xml.attrib['category'], id_xml.attrib['type'], id_xml.attrib.get('{%s}lang' % self.xml_ns, None), -- cgit v1.2.3