summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0030
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-01-26 15:10:06 -0800
committerLance Stout <lancestout@gmail.com>2013-01-26 15:15:01 -0800
commit23f112602c35440ca7a43cfd1efb0d3e15220a02 (patch)
treedb37cbc19a3a2d56b85ca9ee3ce17e5b78e6e111 /sleekxmpp/plugins/xep_0030
parent639a3aa8327068bdfce3ffb72fd6ac2f058fea69 (diff)
downloadslixmpp-23f112602c35440ca7a43cfd1efb0d3e15220a02.tar.gz
slixmpp-23f112602c35440ca7a43cfd1efb0d3e15220a02.tar.bz2
slixmpp-23f112602c35440ca7a43cfd1efb0d3e15220a02.tar.xz
slixmpp-23f112602c35440ca7a43cfd1efb0d3e15220a02.zip
Get tests to pass again.
Re-add old gmail_notify plugin for now.
Diffstat (limited to 'sleekxmpp/plugins/xep_0030')
-rw-r--r--sleekxmpp/plugins/xep_0030/stanza/info.py2
1 files changed, 1 insertions, 1 deletions
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),